Hi Jason,
you need to use the mysql_fetch_array() function to retrieve the data which goes something like this, assuming you have connected to your server:
$query = "select City from StateInfo where State='SomeState'";
$result = mysql_db_query("YourDB", $query)
$count=0
while ($r=mysql_fetch_array($result))
{
$City=$r["City"];
$count++;
echo " <td>$City</td>";
if ($count%3==0) //every third row
{
echo "</tr><tr>";
}
}
Hope this helps
Kind Regards
John Featherstone