Answered
Displaying data from a recordset
Hi
I have created a recordset and it returns 6 rows of data when tested. These are products for an on-line catelogue and I would like to do is display 6 products per page. I have created 6 areas and added the data dynamically and what happens is that the first row of data is displayed 6 times. Is there any way to display all the rows on one page? I have read the 'Recordset paging and move to next page' and I can get this to work but what I need is to display 6 products on one page. I am using PHP and MySQL with Dreamweaver. Presumably it something to do with $mysql_num_row but is there a simple way in Dreamweaver to do this? If not does anyone know the PHP syntax to get this working?
Hope you can help me.
Regards
Nikki
I have created a recordset and it returns 6 rows of data when tested. These are products for an on-line catelogue and I would like to do is display 6 products per page. I have created 6 areas and added the data dynamically and what happens is that the first row of data is displayed 6 times. Is there any way to display all the rows on one page? I have read the 'Recordset paging and move to next page' and I can get this to work but what I need is to display 6 products on one page. I am using PHP and MySQL with Dreamweaver. Presumably it something to do with $mysql_num_row but is there a simple way in Dreamweaver to do this? If not does anyone know the PHP syntax to get this working?
Hope you can help me.
Regards
Nikki
