






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
PHP Ajax Based Program for BCA and Bsc(Computer Science ) Student.
Typology: Study notes
1 / 12
This page cannot be seen from the preview
Don't miss anything!







Html file :
Enter UserName Enter Password
Php file :
Html file :
Enter first no : Enter second no :
Php File :
Display the list of Games
$add=$n1+$n2; echo "Addition = ".$add; } else "enter both nos"; ?>
Search
suggestions :
Php file :
{ $match=""; for($i=0;$i
Select Actor Name :
Php file : "; echo "Movie NoMovie NameRelease Year";
while($row = mysql_fetch_array($q)) { echo ""; echo "".$row[0].""; echo "".$row[1].""; echo "".$row[2].""; echo ""; }
echo ""; ?>
HTML File
Slip13.html
req=new ActiveXObject("Microsoft.XMLHttp"); } functionfetchdata(datasource,divID) { if(req) { req.open("GET",datasource); req.onreadystatechange=function() { if(req.readyState==4 &&req.status==200) { document.getElementById(divID).innerHTML=req.responseText; } } req.send(null); } }
data will be here
myfile.txt Ajax stands for asyncronousjavascript and xml
Html file :
Enter Username :
html file :
Select Name Of Employee :
php file :
"; echo "EnoEnameDesignationsalary";
while($row=mysql_fetch_array($q)) { echo ""; echo "".$row[0].""; echo "".$row[1].""; echo "".$row[2].""; echo "".$row[3].""; echo ""; }