FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » I need Help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: I need Help [message #169693 is a reply to message #169692] Thu, 23 September 2010 04:17 Go to previous messageGo to previous message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma:
Senior Member
Jerry Stuckle wrote:

> Robert Hairgrove wrote:
>> Patrick Ehrmann wrote:
>>> mysql_close ($verbindung);
>>
>> PHP takes care of this automatically, I believe.
>
> Never a good idea to allow PHP to close the connection. Close it
> yourself when you're done!

Rule 13:
open the db connection
do your query, your select, update, insert, whatever
close the db connection
proceed with other coding

--
-bts
-okay .. it may be rule 9 or rule 2 or ...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Book problems and solution for windows 7
Next Topic: Syntax for array?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 15:00:48 GMT 2024

Total time taken to generate the page: 0.05435 seconds