Re: [PHP] printing results from mysql fetch array

2002-07-25 Thread Richard Baskett
Well you could do something like this: while ($row = mysql_fetch_array) { echo trtd$row[data1]/td/tr } This will print out a table row for every record.. Now if you just want to print specific records then you might as well do that in the select statement to your database and then use the

Re: [PHP] printing results from mysql fetch array

2002-07-25 Thread Kevin Stone
Well yah.. I mean you can move the array pointer by simply looping through the array 16 times. But why not simply take care of this in your SELECT statement? SELECT .. blah blah blah.. ORDER BY firstname DESC LIMIT 16, 1 Returns one row starting with the 16th row ordered by the firstname in