Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML HTML Basics

How to html div value export to xml file

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

How to html div value export to xml file

Postby gogs85 » Tue Apr 17, 2012 6:51 am

How to html div value export to xml file with php code?

Please help!
gogs85
New php-forum User
New php-forum User
 
Posts: 5
Joined: Tue Apr 17, 2012 6:46 am

Re: How to html div value export to xml file

Postby viper94x » Tue Apr 17, 2012 9:55 am

Could you please be a bit more detailed?
viper94x
New php-forum User
New php-forum User
 
Posts: 15
Joined: Mon Apr 16, 2012 2:15 am
Location: Netherlands

Re: How to html div value export to xml file

Postby gogs85 » Wed Apr 18, 2012 7:24 am

i want to my php code do this:

example:
<div class ="offers"> some text</div>
<div class = "pictures"> some link</div>
<div class = "price"> 200$</div>

i want to make xml file like this example:
<my offers>
<offers>some text</offers>
<pictures>some link</pictures>
<price> 200$</price>
</my offers>

from div tag put value in xml file
gogs85
New php-forum User
New php-forum User
 
Posts: 5
Joined: Tue Apr 17, 2012 6:46 am


Return to HTML Basics

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.