Anyway, what I'm am doing is getting all names from a DB beginning with a certain letter like:
Code: Select all
$result = mysql_query("SELECT * FROM test WHERE name LIKE 'a%'");
while($row = mysql_fetch_array($result))
{
echo $row[name'];
}There's probably a simple solution to this, but what that might be, I hope you can tell me, or at least give me some guidelines on how to figure it out.
Thanks in advance!