The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Request for help:PHP and MySQL by talon07202003-02-09 11:57:38
  let me guess...... by mhiper3 2003-02-09 12:33:03
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

[ Reply ]
    nope by talon07202003-02-09 13:57:34
      Perhaps PHP somehow thinks it's a string by IByte2006-11-19 12:55:59
        Thanks by talon07202003-02-09 16:02:21
      if you echo the query... by mhiper32003-02-09 16:15:01
        Thanks by talon07202003-02-09 17:59:19

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)