Wednesday, March 6, 2019
PHP 2nd class Add Code
<?php
if (isset($_POST['Add'])){
$a = $_POST['num1'];
$b = $_POST['num2'];
$c = $a + $b
?>
<h3> Answer is :<?php echo $c ?></h3>
<?php
}
?>
<form method="post">
<label> Enter First Number </label>
<input type="number" name="num1"/>
<br/>
<br/>
<label> Enter Second Number </label>
<input type="number" name="num2"/>
<input type="Submit" value="Add" name="Add"/>
</form>
Subscribe to:
Post Comments (Atom)
-
https://www.dropbox.com/s/tbhf74uagy4mxho/HEALTH%20INSURANCE%20SYSTEM.rar?dl=0 health insurance system new all people free and...
-
<?php if (isset ($_POST ['b1'])){ function add() { $a = $_POST ['num1']; $b = $_POST ['num2']; ech...
-
goto C goto Xamp Goto Apache Goto conf Goto extra Open httpd-xampp.conf change this para into this : old: Alias /phpmyadmin ...
No comments:
Post a Comment