Alright, I'm not very good with PHP. Could anyone tell what the usage of "%" serves in a mysql_query, such as:
$query = mysql_query("SELECT * FROM dictionary_list WHERE word LIKE '$q%' LIMIT $limit") or die(mysql_error());
PS: This is a dictionary lookup. Say you put in "a", it will spit out:
A:
Aëneous:
Aërate:
Aëration:
Aërator:
$query = mysql_query("SELECT * FROM dictionary_list WHERE word LIKE '$q%' LIMIT $limit") or die(mysql_error());
PS: This is a dictionary lookup. Say you put in "a", it will spit out:
A:
Aëneous:
Aërate:
Aëration:
Aërator: