Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

New Anna University Nov / Dec 2016 Examination Important Questions
New Anna University (UG / PG) Nov/Dec 2016 and Jan 2017 Theory , Practical Exam Timetable
>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University November/December 2015 Examination Question Papers
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

PHP MULTIPLICATION TABLE
#1
Thumbs Up 


MULTIPLICATION TABLE

Program LanguageTongueHP

Program Requirements:

1.PHP server(like EasyPHP)

2.Web Browser(Like Firefox)

Program Description:

Get the input for html page and submit the input then get the multiplication table

for web server...

PROGRAM:

File Name : Mul.html

Code:
<html>
<body bgcolor=silver>
<br>
<form action="while1.php">
<center><h2>multiplication table</h2></center>
<hr size=2>
<br>
enter a number<input type="text" name=num>
<input type="submit" value="table">
</form>
</body>
</html>

File Name: while1.php


Code:
<?php
$num=$_GET['num'];
$i=1;
while($i<=10)
{
$val=$num*$i;
echo "$num*$i=$val<br>";
$i++;

}
?>


Heart
Make a Great History


Reply
#2

Super bro...

New Share your Study Materials with us : Click Here


Reply

Subscribe


Recommend on Google