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)
-
Alter table "Table_Name" Add 'New_Column_Name' 'Datatype'; alter table product Add quantity bigint;
-
<?php if (isset($_POST['Add'])){ $a = $_POST['num1']; $b = $_POST['num2']; $c = $a + $b ...
-
Ans: The .Net Framework is an infrastructure that enables building, deploying and running different types of applications and services using...





No comments:
Post a Comment