View Single Post
  #1 (permalink)  
Old 10-30-2008, 01:45 AM
subho's Avatar
subho subho is offline
WebProWorld Member
 
Join Date: Sep 2005
Location: India
Posts: 87
subho RepRank 0
Default XML data fetching using PHP

Hello everyone

I am new to php and stuck somewhere in php+xml. I have an .xml file where inside "title" tag there is website's "title", below inside "keyword" tags there are "meta keywords" of the website. I want to fetch the different data from that xml file and show it in proper place. How to do this?? any idea?

But there shouldnt be two different xml file....all the datas will be stored inside that xml file only.

Here is my .xml example::

<?xml version="1.0" encoding="iso-8859-1"?>
<phrase>
<title>Title goes here</title>
<keyword>mykeyword one</keyword>
<keyword>mykeyword two</keyword>
<keyword>mykeyword three</keyword>
</phrase>

Please help me..

Regards-
__________________
Developersouvik [Technology & creativity Spun together]
http://developersouvik.orgfree.com
Reply With Quote