can someone tell me why people use this first example over the second example like i use.
while ($x < mysql_num_rows($result)) :
$ID = mysql_result($result, $x, 'id.movies');
$mName = mysql_result($result, $x, 'movieName.movies');
$own = mysql_result($result, $x, 'owner.movies');
$Email = mysql_result($result, $x, 'email.users');
$x++;
endwhile;
this is how i normally do it, why dont others?? is my way fuked or dont people know how to do it the easy and seemingly more efficient way??
while ($x=mysql_fetch_array($result)){
$ID = $x["id"];
$mName = $x["movieName]
$own = $x["owner"];
$Email = $x["email"];
}
Anyway, whats the point of this loop any how? it will only save one record at a time, the last record, the others will be deleted.