Hi my fellow developers & coders
I run the following command, and the first row doesn't show up. The $num_domain_rows shows 4, yet the while loop only displays 3, why would this be?
$domain_result = mysql_query ("SELECT * FROM domain_accounts WHERE activated='0'") or die (print mysql_error());
$num_domain_rows=mysql_num_rows($domain_result);
$domain_row = mysql_fetch_array($domain_result);
if ($num_domain_rows > 0) {
while($row = mysql_fetch_array($domain_result)){
print 'Domain id '.$row[id].'<br>';
}
}