Hi all
How can I identify the first and last row of a while loop?
This would help me to swap images related to the first and last row.
Thank you.
Identify the first and last row of a loop
Moderator: General Moderators
Re: Identify the first and last row of a loop
Well, if you are counting the rows, the first will always be row 1, and the last will always be the number of rows (mysql_num_rows() on a result set, count() on an array).
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Re: Identify the first and last row of a loop
Thank you so much Scot, will work on it.