Miscellany
public php v1 · immutable$result = mysql_query("SELECT ID, Name from testtable Order by Cat asc") or die(mysql_error());echo "<TABLE border='1'>";echo "<TR>";while($get_result = mysql_fetch_array($result)){ echo "<TD>".$get_result['ID']."</TD>"; echo "<TD>".$get_result['Name']."</TD>"; echo "<TR>";}echo "</TABLE>";