RE: [PHP] can't figure out this mysql error
| From: | Chris W. Parker | Date: | Fri, 23 Jan 2004 16:53:59 +0000 |
| Subject: | RE: [PHP] can't figure out this mysql error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175535@lists.php.net to get a copy of this message | ||
Jason Wong <mailto:php-general@gremlins.biz>
on Thursday, January 22, 2004 8:49 PM said:
> The if-clause will never be evaluated because if there had been an
> error your program would have dieded on the previous line.
Heh.. yeah I thought about that as I was examining the code for this
post. But thanks for confirming.
> I'm sure if php tells you it's invalid you can bet your *** it's
> invalid! Check for errors and report with mysql_error() after _each_
> and _every_ call to the mysql_* functions.
All of what you say makes sense. Hopefully your suggestion will help me
find the problem!
Thanks,
Chris.