Info on how to read elements of a database file into HTML
Here’s what I need to do, I have a product inventory of 500 items, and several web pages in which they are contained. I would like all product information in a CSV type file so I could then get the HTML page to read this file some how and display the results of certain elements at a time.
ie
ID, Description, Price, Image,
00001, Mens Coat, $80.00, ../images/00001.jpg
00002, Ladies Coat, $50.00, ../images/00002.jpg
ie currently it’s like this,
<TR>
<TD>
<div align=”center”><img src=”images/00001.jpg” width=”250″></div>
</TD>
<TD><P><font size=”4″><strong>00001</strong></font></p>
<UL>
<li><P>Mens Coat.</p></li>
<LI>Price: US$80.00</LI>
</UL>
</TD>
</TR>
But I would like this information inserted from a database so I only have to update one file rather than having to update 500 elements over 20 html files.
Anyone got any ideas???
I have looked through the forum, but there is so much of it and I don’t know what I’m looking for.
Thanks
Stu