Quote:
Originally Posted by winstone
just before your mysql query, put:
PHP Code:
var_dump($a_var); exit;
if result was null, put the code above just after the code "$Zforum = 5;"
if the result was correct, some code in between is messing up with this variable
|
OK it did return the right number so now I know its something in the coding that is clearing all stored variables. At least now I'm cutting down the problem.
OK I figured it out. Wow programming in vb4 did add something new to the variables. I figured it out. It was just a delaration inside the funtion. Once added it worked flawlessly. Thx everyone for helping.