PDA

View Full Version : Can I do this?


N9ne
02-14-2003, 08:59 PM
admin/forum.php

".addslashes($blahblah1)."

That is perfectly valid in the update and insert queries in forum.php in admin folder.

What I want to do though, is this:

".addslashes($blahblah1,$blahblah2,$blahblah3,$blah blah4)."

Can I do that?

Dpcows
02-14-2003, 09:06 PM
i don't think so.
but i'm to lazy to check.

putting the fields after each other works.
just give it a try

assassingod
02-14-2003, 09:29 PM
I wouldn't think so from previous expirence with /admin/forum.php

N9ne
02-14-2003, 09:31 PM
ok, it's just that I will have to have 6 of them :(. I wish there was a shorter way to do it (HINT HINT @ PHP PEOPLE :D)...or maybe it's the vB devs? :o

Dpcows
02-15-2003, 08:33 AM
there isn't, the way you discripe is incorect php