| You are computing the result in a file (let's say 'page1.php' [i like being original]) and when you pass the value to another file (let's say, 'page2.php') that value is 0, right?
How are you passing the value? GET? POST? nothing? Maybe you should have a look at the $HTTP_POST_VARS, $HTTP_SESSION_VARS and $HTTP_GET_VARS arrays, using something like this:
foreach ($HTTP_POST_VARS as $clave => $valor)
{
echo " $clave: $valor";
}
echo " ";
exit(0);
Check if the variable really makes it's way to the second file |