Re: [PHP] [php] Blind?

2003-03-22 Thread Tom Rogers
Hi,

Sunday, March 23, 2003, 4:25:29 PM, you wrote:
JTJ I'm blind or tired or both. Anyone see anything wrong with:

JTJ $sql = 'SELECT * FROM '.$table.' WHERE MATCH
JTJ 
(author,title,book,journal,volumenumber,issuenumber,placeofpublication,publisher,year,pages)
JTJ AGAINST (\''.stripslashes($searchenquiry).'\' IN BOOLEAN MODE) ORDER BY id asc;';

JTJ I've tried looking at it in a .phps but don't see it.



Is that an extra ; near the end ;';

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] [php] Blind?

2003-03-22 Thread John Taylor-Johnston
Yeah, but it works it you pass it into MySQl. Obligatory I think.
I found my problem 10 lines up. A missing ; but singled out that line - just to 
confuse me.
Sorry, it wasn't that after all. Thanks,
John

Tom Rogers wrote:

 Hi,

 Sunday, March 23, 2003, 4:25:29 PM, you wrote:
 JTJ I'm blind or tired or both. Anyone see anything wrong with:

 JTJ $sql = 'SELECT * FROM '.$table.' WHERE MATCH
 JTJ 
 (author,title,book,journal,volumenumber,issuenumber,placeofpublication,publisher,year,pages)
 JTJ AGAINST (\''.stripslashes($searchenquiry).'\' IN BOOLEAN MODE) ORDER BY id 
 asc;';

 JTJ I've tried looking at it in a .phps but don't see it.

 Is that an extra ; near the end ;';


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php