![]() |
Post variable not working..
Ok, so here's my code:
PHP Code:
|
You need to get rid of that echo and turn that into a die(mysql_error(not picked up))
echo will keep showing/repeating instead of actually doing what it should. I could be wrong tho. |
it's not an sql error...
and it doesn't change if i remove it or keep it. It's merely an echo. It shouldn't have any impact at all. |
i had the same problem the last hack i built, but i managed to solve it finally. here's my code:
PHP Code:
i hope it will also work for you and you won't have a problem. all you have to do now is the "if" part. |
which is i have already done
thanks, i just have to change UNIT to STR nope, still not picking it up... hmm, if i take out the if it works.... it seems to be that the else dominates when it shouldn't... |
try change
$vbulletin->input->clean_array_gpc('p', array( to: $vbulletin->input->clean_array_gpc('r', array( (notice the 'p' replaced by the 'r' - i gave it to your in the first post but you didn't notice it) |
wohoo, thanks for that no it does work :)
|
All times are GMT. The time now is 05:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|