[PHP] [php] Blind?
I'm blind or tired or both. Anyone see anything wrong with: $sql = 'SELECT * FROM '.$table.' WHERE MATCH (author,title,book,journal,volumenumber,issuenumber,placeofpublication,publisher,year,pages) AGAINST (\''.stripslashes($searchenquiry).'\' IN BOOLEAN MODE) ORDER BY id asc;'; I've tried looking at it in a .phps but don't see it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [php] Blind?
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?
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