Write a PHP script to generate an XMLin the following format.<?xml version = “1.0” 2>
<BookStore>
<Books>
<PHP>
<title>Programming PHP</title>
<publication>O’RELLY</publication>
<price>800</price>
</PHP>
<PHP>
<title>Beginners PHP</title>
<publication>WROX</publication>
<price>900</price>
</PHP>
</Books>
</BookStore>
Add more than 5 books details. Display details of book by selecting the publication of book from user.
0 Comments