databse fetch problem
Posted: Fri Jan 02, 2004 9:32 am
This is how my mysql_fetch_row code looks like:
The level field is an indeger(1) and where username = vigge , it's set to '5'.
However, $result[0] contains '1', and not '5'. Could anyone help me solve this mystery?
Code: Select all
<?php
$sql3 = "SELECT level FROM keeper WHERE nick = '$usrname'";
$result3 = @mysql_fetch_row( @mysql_query($sql3));
?>However, $result[0] contains '1', and not '5'. Could anyone help me solve this mystery?
