gcapp
08-19-2003, 09:08 PM
Can someone help???
I have been working on an ASP script for days now and can't get some of the finer details correct and I hoped that someone could give me the code.
What I have is a table that has Sale Items listed in it and one of the fields is category. The script I am writing (or trying to) should display all the sale items on a page grouped by category. Now the way I want the images displayed is in a table with 3 images per row. So say I have 6 images for camping, then 3 rows or 3 images would appear and then would be separated by a line for the next group of items. I have written code for this but can't get it right. I can make it where the images will appear in cells, but I can't get a few things down:
1) how to I write the code so the max number o fimages per row is 3??
2) and where do I put code to separate each category of items by a line?
I have attached the code i have written. If anyone can help at all, I would appreciate it.
Gary
I have been working on an ASP script for days now and can't get some of the finer details correct and I hoped that someone could give me the code.
What I have is a table that has Sale Items listed in it and one of the fields is category. The script I am writing (or trying to) should display all the sale items on a page grouped by category. Now the way I want the images displayed is in a table with 3 images per row. So say I have 6 images for camping, then 3 rows or 3 images would appear and then would be separated by a line for the next group of items. I have written code for this but can't get it right. I can make it where the images will appear in cells, but I can't get a few things down:
1) how to I write the code so the max number o fimages per row is 3??
2) and where do I put code to separate each category of items by a line?
I have attached the code i have written. If anyone can help at all, I would appreciate it.
Gary