mysql - find database rows that start with a character using PHP -


how can grab data database using mysql query rows start string, example;

$string = 'ws';  mysql_query("select * `table` `name` starts '$string'"); 

something above

you mean like

select * `table` `name` 'ws%' 

Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -