hello
i have the following query:
$sql = "select * from temp_user where session_id = '$session_name'";
session_name is my session_id() taken from another page, and this also seems valid [echo($session_name) gives me the correct value]
session_id is of course stored on my database and is the same value as session_name?!
but this gives me no rows though i can see the rows in my phpMyAdmin and also when i print out the query it seems valid, why would this not work?
if i try it without the where section it works?
thanx in advancce