note 113820 added to function.gettimeofday
| From: | javet71 at hotmail dot com | Date: | Thu, 05 Dec 2013 23:47:40 +0000 |
| Subject: | note 113820 added to function.gettimeofday | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197776@lists.php.net to get a copy of this message | ||
3
<?php
session_start(); // Necesario, sino no tengo acceso a las variables de sesión
?>
<html>
<head>
<title>Página 3</title>
</head>
<body>
<table border="1">
<?php
$repetido = 0;
foreach($_SESSION["matriz"] as $fila) {
print "<tr>";
foreach($fila as $celda) {
if ($celda == $_SESSION["numero1"]) {
$repetido++;
}
print "<td>" . $celda . "</td>";
}
print "</tr>";
}
?>
</table>
<h1>El número <?php print $_SESSION["numero1"]; ?> se repite <?php print
$repetido; ?> veces</h1>
<a href="index.php">Página Principal</a>
</body>
</html>
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.gettimeofday.php
Edit -- https://master.php.net/note/edit/113820
Del: integrated -- https://master.php.net/note/delete/113820/integrated
Del: useless -- https://master.php.net/note/delete/113820/useless
Del: bad code -- https://master.php.net/note/delete/113820/bad+code
Del: spam -- https://master.php.net/note/delete/113820/spam
Del: non-english -- https://master.php.net/note/delete/113820/non-english
Del: in docs -- https://master.php.net/note/delete/113820/in+docs
Del: other reasons-- https://master.php.net/note/delete/113820
Reject -- https://master.php.net/note/reject/113820
Search -- https://master.php.net/manage/user-notes.php