Click to See Complete Forum and Search --> : XML based shopping website with database


Davinder
07-09-2004, 06:39 AM
Hi,

i'm quite a beginner to XML and databases, i've taken on quite a lot for my dissertation, I've decided to implement a shopping website. I want to do this in XML, but i havnt the faintest idea where to begin. Can someone point in the right direction by giving me an outline of what the general structure is for a website with database connectivity using XML and PHP\ASP.

Thank you in advance..

Davinder

Davinder
07-11-2004, 01:26 PM
Can someone help? Im really stuck....

BuezaWebDev
07-12-2004, 04:34 PM
You can do a simple product list (this is off the top of my head and sorry for a late reply)


<catalogue>
<product>
<name>Socks</name>
<price>$10.00</price>
<description>These socks are for sale. They are white and fluffy.</description>
</product>
<product>
<name>Honda S2000</name>
<price>$100,000.00</price>
<description>This car is a nice looking car with great HP and great styling.</description>
</product>
</catalogue>


If you follow it up, you can have a million products, with different descriptions and then you can just output them with a stylesheet.

Good luck mate!

BuezaWebDev
07-12-2004, 04:41 PM
As for database functionality with XML

go here

http://www.kirupa.com/web/mysql_xml_php.htm

Good luck!