mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
example correction <br />
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@83436 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2efa193c25
commit
773799ca3e
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.mysql-fetch-field">
|
||||
<refnamediv>
|
||||
|
@ -104,10 +104,10 @@ $result = mysql_query("select * from table")
|
|||
/* get column metadata */
|
||||
$i = 0;
|
||||
while ($i < mysql_num_fields($result)) {
|
||||
echo "Information for column $i:<BR>\n";
|
||||
echo "Information for column $i:<br />\n";
|
||||
$meta = mysql_fetch_field($result);
|
||||
if (!$meta) {
|
||||
echo "No information available<BR>\n";
|
||||
echo "No information available<br />\n";
|
||||
}
|
||||
echo "<pre>
|
||||
blob: $meta->blob
|
||||
|
|
Loading…
Reference in a new issue