RE: [PHP-DB] Problem with retrieving Data with MySQL
| From: | joakim dot andersson at cybercom dot se | Date: | Fri, 19 Jul 2002 08:11:43 +0000 |
| Subject: | RE: [PHP-DB] Problem with retrieving Data with MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20653@lists.php.net to get a copy of this message | ||
> From: Blaine D. Dinsmore [mailto:dinsmoreb@surfbest.net]
> Sent: Thursday, July 18, 2002 8:18 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] Problem with retrieving Data with MySQL
>
>
> Can somone tell me what is wrong with my code here?
> My e-mail does not mail me the results from the the latest
> database entry:
I assume you actually have made a function named mysqlconn() and that it
returns a result-set.
It looks like you run the query but you don't assign the result to
anything...
Change this:
mysqlconn($dbase,$sql);
To this:
$result = mysqlconn($dbase,$sql);
If this doesn't help we need to know if you have made this function and if
so we probably need to see the function aswell.
Regards
Joakim Andersson