niche Posted May 17, 2011 Share Posted May 17, 2011 How do I advance the pointer to the next row within a while loop using mysql_fetch_array? while ($row = mysql_fetch_array($result)) { $zip11 = $row['postnet ip']; include "postnet2.php"; //SOME MORE PROCESSING //I NEED TO ADVANCE THE POINTER HERE TO THE NEXT ROW //SOME MORE PROCESSING } Link to comment Share on other sites More sharing options...
niche Posted May 17, 2011 Author Share Posted May 17, 2011 $row = mysql_fetch_array($result); when I need to advance to the next row in the middle of a while loop. Link to comment Share on other sites More sharing options...
justsomeguy Posted May 17, 2011 Share Posted May 17, 2011 You can also use mysql_data_seek. Link to comment Share on other sites More sharing options...
niche Posted May 17, 2011 Author Share Posted May 17, 2011 Thanks justsomeguy.Niche Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.