Solved

Use the mssql_fetch_assoc array values again

Posted on 2010-11-08
3
471 Views
Last Modified: 2012-05-10
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 :)
0
Comment
Question by:justaphase
  • 2
3 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
This is your friend:
http://us3.php.net/manual/en/function.mssql-data-seek.php

Best regards, ~Ray
0
 
LVL 1

Author Closing Comment

by:justaphase
Comment Utility
How didn't i see that...
I thought it was only to inform the position, not to change it...

Thank you very much!
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
Thanks for the points.  This question occurs about once a quarter - usually from a Dreamweaver developer in the MySQL Zone!  Cheers, ~Ray
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now