note 106946 added to features.persistent-connections
| From: | kuky at osu1 dot php dot net | Date: | Tue, 20 Dec 2011 07:47:36 +0000 |
| Subject: | note 106946 added to features.persistent-connections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185175@lists.php.net to get a copy of this message | ||
an example on select in a database:
<html>
<head>
</head>
<body>
<?php
include("conectare.php");
$sql="select * from datepers";
$result=mysql_query($sql);
$nr=mysql_num_rows($result);
echo "Nr de inregistrari din tabela Datepers este: $nr<br>";
echo "<table border =\"1\">";
echo
"<tr><th>Nume</th><th>Prenume</th><th>An</th><th>Grupa</th></tr>";
while($nr=mysql_fetch_array($result))
{
echo "<tr>";
echo
"<td>".$nr['Nume']."</td><td>".$nr['Prenume']."</td><td>".$nr['An']."</td><td>".$nr['Grupa']."</td>";
}
echo "</table>";
echo "<a href=\"index.html\">Index</a>";
?>
</body>
</html>
----
Server IP: 69.147.83.197
Probable Submitter: 82.137.15.55
----
Manual Page -- http://www.php.net/manual/en/features.persistent-connections.php
Edit -- https://master.php.net/note/edit/106946
Del: integrated -- https://master.php.net/note/delete/106946/integrated
Del: useless -- https://master.php.net/note/delete/106946/useless
Del: bad code -- https://master.php.net/note/delete/106946/bad+code
Del: spam -- https://master.php.net/note/delete/106946/spam
Del: non-english -- https://master.php.net/note/delete/106946/non-english
Del: in docs -- https://master.php.net/note/delete/106946/in+docs
Del: other reasons-- https://master.php.net/note/delete/106946
Reject -- https://master.php.net/note/reject/106946
Search -- https://master.php.net/manage/user-notes.php