optimized a bit (mainly added some 'mysql_free_result')

This commit is contained in:
Loïc Chapeaux
2001-09-06 18:34:41 +00:00
parent 1512bbcf26
commit f4f72557f3
6 changed files with 25 additions and 14 deletions

View File

@@ -30,6 +30,7 @@ if (MYSQL_INT_VERSION >= 32300) {
if (!empty($row['Comment'])) {
echo $strTableComments . ' : ' . $row['Comment'];
}
mysql_free_result($result);
} // end display comments
@@ -108,6 +109,8 @@ while ($row = mysql_fetch_array($result)) {
</tr>
<?php
} // end while
mysql_free_result($result);
echo "\n";
?>
</table>
@@ -148,6 +151,7 @@ if (mysql_num_rows($result) > 0) {
</table>
<?php
} // end if
mysql_free_result($result);
/**