Anonymous
public text v1 · immutable 2 ini_set('display_errors', '1');
3 ?>
4
5 <html>
6
<?php
$noinlot = "";
if(isset($_GET['no_inlot'])) {
$noinlot = $_GET['no_inlot'];
} else {
$noinlot = "Not set!";
}
?>
No. of bottles in Lot:<br>
<form name ="form1" method ="get" action ="">
<input type="text" name="no_inlot">
<?php
echo "value=$noinlot";
?>
</form>
</html>