jme60 Posted January 19, 2007 Share Posted January 19, 2007 How can I get this code to search for exact keyword.$query = "select * from orders where orders_phone like \"%$trimmed%\""; Thanks Link to comment https://forums.phpfreaks.com/topic/34846-help-with-sql-query-in-php/ Share on other sites More sharing options...
trq Posted January 19, 2007 Share Posted January 19, 2007 [code=php:0]$query = "SELECT * FROM orders WHERE orders_phone = '%$trimmed'";[/code] Link to comment https://forums.phpfreaks.com/topic/34846-help-with-sql-query-in-php/#findComment-164307 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.