I have a query that I put in a variable called $myQuery:
$myQuery = mysql_query(...);
Then I would like to extract the data using a while loop. The thing is that I do not want to start with the first record (first row), but with the second one. I do not manage to find how to do that…
while($row = mysql_fetch_assoc($myQuery)) {
???
}
Then, later on I would like to use the variables from the first record (first row) of that query. Again I do not find how to do that. Thank you in advance for your replies. Cheers. Marc.
1 Answer