"); mysql_select_db($dbname); //Query that is being run $query= "SELECT id,imei,email FROM mobifind_email WHERE imei <> \"\""; //this will try to spit out the previous sql query $result = mysql_query($query) or die('Query failed: ' . mysql_error()); //this is a line break before the spit output while ($line = mysql_fetch_row($result) ) { if($line[0] <> 0) { echo ''; echo ''; echo ''; echo ''; echo ''; } } ?>
id imei email
'.$line[0].''.$line[1].''.$line[2].'