So here's the problem. Let's say I have 12 rows of data when I grab the rows from the DB with this code:
Expand|Select|Wrap|Line Numbers
- $sql = "select * from infop2 order by field_id2";
- $result = mysql_query($sql,$connection);
- $rows = mysql_num_rows($result);
- for ($r = 1; $r <= $rows; $r++) {
- $row = mysql_fetch_array($result);
- extract($row);
I have been experimenting with this and have discovered that when I create a record with a 20-29 for the "field_id2" value that then displays after row 2.