Jump to content

Archived

This topic is now archived and is closed to further replies.

willpower

mysql free result

Recommended Posts

Hi

instead of having

<?

mysql_free_result ($Recorsedt1);
mysql_free_result ($Recorsedt2);
mysql_free_result ($Recorsedt3);
mysql_free_result ($Recorsedt4);
mysql_free_result ($Recorsedt5);

?>

is there a way to

<?
mysql_free_result (*****all****);
?>

This would allow me to add this to my footer insted of ending different bits on different include files...all of which i am finding very messy!
Thanks

Will


Share this post


Link to post
Share on other sites
maybe store them all in an array then free the array??

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.