free(), not close()

This commit is contained in:
Ruan 2015-02-21 07:56:40 +02:00
parent 7780ec2ff6
commit cc923d5c34
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ if(!$result = $conn->query($sql)) {
} ?></td> } ?></td>
</tr> </tr>
<?php } <?php }
$result->close(); $result->free();
echo "</tbody></table>"; echo "</tbody></table>";
?> ?>
</div> </div>

View File

@ -65,7 +65,7 @@ if(!$result = $conn->query($sql)) {
} ?></td> } ?></td>
</tr> </tr>
<?php } <?php }
$result->close(); $result->free();
echo "</tbody></table>"; echo "</tbody></table>";
?> ?>
</div> </div>