bijan Posted February 9, 2006 Share Posted February 9, 2006 I have used a query with mysql_fetch_assoc, and when I am at the end of the records,I need to go to the first record, and read them another time again,How can I go to the first MySQL query result after I have read them once ? Link to comment Share on other sites More sharing options...
hacknsack Posted February 10, 2006 Share Posted February 10, 2006 You can use mysql_data_seek() to set the pointer back to the first row.An article that might help:Melonfire ArticleIt is good to recycle Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now