Beruflich Dokumente
Kultur Dokumente
02
Total Marks: 20
Semester: Fall 2017
Introduction to Web Services Development CS311 Due Date: 24/11/2017
Objectives:
Understand and get hands on experience of
PHP server side script
Nested loops in PHP
Reading XML elements in PHP
Display XML element into HTML table
Instructions:
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
Problem Statement
Well-formed code of XML is given below which is showing picture book list in XML format. You
are required to write PHP code which will read given XML code and display in HTML table as
showing in screen shot of sample output.
</Picture_Books>
Sample Output:
You need to upload PHP file that contain solution of this assignment. The procedure to use online tool
to write, compile, test PHP code and export as PHP file is given in demo.mp4 video file.
Tips: Create a string of whole XML code and use built-in PHP function simplexml_load_string( ) to
get object. Convert object into array and display information in array in HTML table.
Please note that due date of assignment will not extend, so do not wait for last date and submit your
solution as quickly as possible.