Dr_s99
02-05-05, 08:59 PM
Hello,
i have a XML file that looks like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<maindatabase>
<car id="1">
<picture id="1">car1.jpg</picture>
<stock_num>378</stock_num>
<year>2000</year>
<make>CHEVROLET</make>
<model>MALIBU</model>
<model_det>V6 LS</model_det>
<date>2/5/2005</date>
<mileage>84000 km</mileage>
<price>$8,995.00</price>
<pic_gallery>00</pic_gallery>
</car>
</maindatabase>
i want to make a "control center" for it....
i mean i want to make a page where you enter all the information and the program saves it into the XML file....
basic idea is i have
around 10 textfields for each nodes...
and when the user clicks submits, the page opens that XML file and appends the information the user has inputed into it.
in the same formate...
<car>
....
</car>
is there any tutorial out there that shows something similar.??
or any idea...
PS: i'm just learning PHP...lol ,
i got the viewing part working... though...lol
Thank you,
dr_s99
i have a XML file that looks like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<maindatabase>
<car id="1">
<picture id="1">car1.jpg</picture>
<stock_num>378</stock_num>
<year>2000</year>
<make>CHEVROLET</make>
<model>MALIBU</model>
<model_det>V6 LS</model_det>
<date>2/5/2005</date>
<mileage>84000 km</mileage>
<price>$8,995.00</price>
<pic_gallery>00</pic_gallery>
</car>
</maindatabase>
i want to make a "control center" for it....
i mean i want to make a page where you enter all the information and the program saves it into the XML file....
basic idea is i have
around 10 textfields for each nodes...
and when the user clicks submits, the page opens that XML file and appends the information the user has inputed into it.
in the same formate...
<car>
....
</car>
is there any tutorial out there that shows something similar.??
or any idea...
PS: i'm just learning PHP...lol ,
i got the viewing part working... though...lol
Thank you,
dr_s99