Jump to content

Post the query results twice


mgwalk

Recommended Posts

How do you post the query results twice

here is how I do it the first time

 

while($row = mysql_fetch_array($result)):
        echo $row['name'].$row['id']';
endwhile;

 

but farther down I want to do it again but it does not work

 

while($row = mysql_fetch_array($result)):
        echo $row['name'].$row['id']';
endwhile;

 

 

thanks

 

Link to comment
https://forums.phpfreaks.com/topic/123045-post-the-query-results-twice/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.