MYSQL QUERY
Posted: Sun Jun 19, 2005 4:42 am
I have a mysql query that selects something from the database and outputs it as a variable. It is a number and when outputed holds the value 'Resource id #5'. The row in the table is not fifth. And overall holds no significance (that i can see) to the number 5. This is the query:
$user is a session that I set as a variable 
Any ideas please?
Code: Select all
$query1455 = "SELECT mything FROM stats WHERE username= '$user'";Any ideas please?