Document
Document
INDEX
TYBBA(CA) Sem VI 2019 – 2020
12 Write Ajax program to get book details from XML file when user
select a book name. Create XML file for storing details of
book(title,author,year,price).
13 Write a PHP program to accept username and password from the user.
Validate it against the login table in the database. If there is a mismatch
between username and password, then, display the error message as –
invalid username and password; else display the message as – Login
successful on the browser.
<?xml version=”1.0”?>
<Bookstore>
<Book>
<PHP>
<title>programming PHP</title>
<publication>O’RELLY</publication>
</PHP>
<PHP>
<title>programming PHP</title>
<publication>O’RELLY</publication>
</PHP>
</Book>
</Bookstore>
18 Write simple PHP program which implements Ajax for addition of two
numbers.
19 Write an Ajax program to display list of games stored in an array on
clicking OK button.
20 Write PHP script to accept an XML file which should comprise the
following:
<cricket>
<player>abc</player>
<runs>1000</runs>
<wickets>50</wickets>
<noofnotout>10</noofnotout>
Display the details of players who have scored more than 1000 runs
and atleast 50 wickets.