In php, how can I loop a mysql recordset until ive found the criteria I need?
is it just:
$sql_result = mysql_query("SELECT * FROM table", $db);
while ($rs = mysql_fetch_array($sql_result) && $done == 0) {
if (this == that) { $done = 1; }
}