mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
mysql -> mysql_query
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45169 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
762e051b49
commit
59b4d1cac6
1 changed files with 1 additions and 1 deletions
|
@ -2370,7 +2370,7 @@ fruits[d] = lemon
|
|||
|
||||
<?php
|
||||
|
||||
$result = mysql ($conn, "SELECT id, name, salary FROM employees");
|
||||
$result = mysql_query ($conn, "SELECT id, name, salary FROM employees");
|
||||
while (list ($id, $name, $salary) = mysql_fetch_row ($result)) {
|
||||
print (" <tr>\n".
|
||||
" <td><a href=\"info.php3?id=$id\">$name</a></td>\n".
|
||||
|
|
Loading…
Reference in a new issue