note 126155 added to function.tan
| From: | mam4 at example dot com | Date: | Wed, 09 Jun 2021 08:36:37 +0000 |
| Subject: | note 126155 added to function.tan | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216497@lists.php.net to get a copy of this message | ||
<?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>Devolver</title>
</head>
<body>
<?php
if (isset($_GET['al'])) {
$rent=$_GET['alquila'];
foreach ($_SESSION['peliculas'] as $film) {
if (strcmp($film->getTitulo(),$rent)==0) {
echo $film->alquila();
}
}
}
elseif (isset($_GET['de'])) {
$devol=$_GET['devolve'];
foreach ($_SESSION['peliculas'] as $pelis) {
if (strcmp($pelis->getTitulo(), $devol)==0) {
echo "casi";
}
}
}
?>
</body>
</html>
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 193.144.97.94)
----
Manual Page -- https://php.net/manual/en/function.tan.php
Edit -- https://main.php.net/note/edit/126155
Del: integrated -- https://main.php.net/note/delete/126155/integrated
Del: useless -- https://main.php.net/note/delete/126155/useless
Del: bad code -- https://main.php.net/note/delete/126155/bad+code
Del: spam -- https://main.php.net/note/delete/126155/spam
Del: non-english -- https://main.php.net/note/delete/126155/non-english
Del: in docs -- https://main.php.net/note/delete/126155/in+docs
Del: other reasons-- https://main.php.net/note/delete/126155
Reject -- https://main.php.net/note/reject/126155
Search -- https://main.php.net/manage/user-notes.php