note 126154 deleted from function.tan by cmb
| From: | cmb@php.net | Date: | Wed, 09 Jun 2021 09:34:57 +0000 |
| Subject: | note 126154 deleted from function.tan by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216503@lists.php.net to get a copy of this message | ||
Note Submitter: mam3 at example dot com
----
<?php
require 'producto.php';
@session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formulario devolver/alquilar</title>
</head>
<body>
<?php
if (isset($_GET['devolver'])){
echo "
<form method='GET' action='folla126_4.php'>
<label>Qué pelÃcula deseas devolver? <input type='text'
name='devolve'></label>
<input type='submit' name='de' value='enviar'>
</form>
";
}
elseif (isset($_GET['alqui'])){
echo "
<form method='GET' action='folla126_4.php'>
<label>Qué pelÃcula deseas alquilar? <input type='text'
name='alquila'></label>
<input type='submit' name='al' value='Enviar'>
</form>
";
}
else {
echo "
<form method='GET' action='folla126_3.php'>
<label>Desea alquilar o devolver una pelÃcula?</label><br>
<input type='submit' name='alqui' value='Alquilar'>
<input type='submit' name='devolver' value='Devoler'>
</form>
";
}
?>
</body>
</html>