[thelist] mySQL and PHP troubles
travis forden
travis at treevis.com
Sun Sep 2 21:42:52 CDT 2001
At 10:24 pm 9/2/01, you wrote:
>At 04:44 PM 9/2/2001, you wrote:
>>
>>I'm learning mySQL and PHP. I'm working through some examples in the Beginning PHP4 by WROX. I have a mySQL table and I want to use PHP to display the userid and username.
>
>
>does this return an error too??
>
> echo mysql_num_rows($result) ;
yes, the same error. so does that mean that mysql is not passing any information? i've confirmed that data are in the table.
FWIW, i don't get an error when i use just
echo $result;
but i just get a blank page. seems that nothing is being assigned to the variable $result.
travis
More information about the thelist
mailing list