Re: Re: Weird things happening with mysql
| From: | Jason Wong | Date: | Fri, 09 May 2003 19:06:10 +0000 |
| Subject: | Re: Re: Weird things happening with mysql | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147055@lists.php.net to get a copy of this message | ||
On Saturday 10 May 2003 02:18, Joseph Szobody wrote:
> This might sound stupid, but echo or print $_POST['foo'] before executing
> the query just to make sure that $_POST['foo'] is really what you think it
> is. If $_POST['foo'] is empty or contains a value not in the database, you
> will get an empty $result.
Actually this is not stupid at all. This is probably the first thing that
should be done. And if the OP did do this then it should've been noted in the
original post.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Conscience doth make cowards of us all.
-- Shakespeare
*/