> I am trying to use php to print my results.  This is my code (I have checked
> to see if fields are correct with regards to spelling and so on):
>
> printf("Genus: %s<br>\n", mysql_result($result,0,"genus"));
>
> and I get the error message:
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /home/sites/site197/web/practice/phpmysqlpract.php on line 26
> Genus:

        Bonjour,
mysql_result's syntax seems to be OK.
check code for $result

jean-michel


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to