Use the mssql_fetch_assoc array values again

Hello Experts,

To populate the values from the mssql_fetch_assoc array i use something like:
do{
}while($row_ParamJS = mssql_fetch_assoc($ParamJS));

If i do the do..while again to the same record collection ($ParamJS), doesn't populate the records again.. i need to goto the top of array to start over, but i don't know how to do it..

Help plz :)
LVL 1
justaphaseAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ray PaseurConnect With a Mentor Commented:
This is your friend:
http://us3.php.net/manual/en/function.mssql-data-seek.php

Best regards, ~Ray
0
 
justaphaseAuthor Commented:
How didn't i see that...
I thought it was only to inform the position, not to change it...

Thank you very much!
0
 
Ray PaseurCommented:
Thanks for the points.  This question occurs about once a quarter - usually from a Dreamweaver developer in the MySQL Zone!  Cheers, ~Ray
0
All Courses

From novice to tech pro — start learning today.