Okej, Anda dapat mencoba melakukan sesuatu seperti ini:
$result = mysql_query("SELECT * FROM test_image WHERE image = ''") or die(mysql_error());
while($row = mysql_fetch_array($result))
{
echo 'Working with id '.$row['id'].' and name '.$row['name'].'<br />';
// DO YOUR CODE FOR THIS ROW IN YOUR TABLE
}