Jump to content


Photo

mysql free result


  • Please log in to reply
1 reply to this topic

#1 willpower

willpower
  • Members
  • PipPipPip
  • Advanced Member
  • 296 posts
  • LocationWarrington, Cheshire, UK

Posted 14 June 2006 - 11:31 PM

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



Wait...I've got it...Bollocks, it's gone again!

If at first you don't succeed....stop using ASP and get onto PHP

#2 homchz

homchz
  • Members
  • PipPipPip
  • Advanced Member
  • 93 posts
  • LocationLee, New Hampshire

Posted 14 June 2006 - 11:38 PM

maybe store them all in an array then free the array??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users