Re: Works from the command line but NOT from PHP
| From: | David Robley | Date: | Wed, 02 Oct 2002 10:05:42 +0000 |
| Subject: | Re: Works from the command line but NOT from PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118570@lists.php.net to get a copy of this message | ||
In article <3D99CF40.1080007@manordat.demon.co.uk>,
g0pae@manordat.demon.co.uk says...
> DonPro wrote:
>
> >$queryID = mysql_query("SELECT HSCode, UOM, EDescript FROM HSCodes WHERE
> >MATCH(EDescript) AGAINST ('" . $description . "') ORDER BY HSCode, UOM,
> >EDescript");
> >
> I don't see what is wrong but try echoing the text of the query itself
> and see if it contains what you think it does around the $desription area.
>
> HTH
> Chris
Two bob says this is a register_globals problem
--
David Robley
Temporary Kiwi!
Quod subigo farinam