Hey guys,
I'm not sure what im doing wrong. It may be something simple and im overlooking it, because I am trying to do something simple.
I am storing a value in a database. It gets stored fine. I checked in mysql command line. All the values are correct in the database.
Then I do this to access it:
$Query = "SELECT curBid FROM tickets WHERE id=". $SESSION['tid'];
$dbResult = mysql_query($Query, $dbLink);
$row = mysql_fetch_array($dbResult, MYSQL_BOTH);
$curBid = $row["curBid"];
$maxBid = $row["maxBid"];
$bidAmt = $SESSION['bidAmt'];
i have the rest of the database access code above in an include, that's not the point. curBid gets accessed from db fine. maxBid is the problem. I am typing everything correctly. I just dont get it. maxBid is getting no value. I am drawing a big blank on this one. Anyone have any ideas?