MySQL 4 Syntax Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$SQL = "SELECT AU,ST,BT,AT,id FROM ccl.ccl_main
WHERE MATCH (AU)
AGAINST ('\"Margaret Atwood\"' IN BOOLEAN MODE)
ORDER BY id desc";

When I enclose "Margaret Atwood" in double quotes, it's like having no quotes at all. Therefore, it searches for all occurences of Margaret and Atwood.

Any inspiration?

Thanks,
John


--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."

   -     Université de Sherbrooke:
          http://compcanlit.ca/


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux