Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #7678
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: must I close mysql_connect? |
| Date | 2012-12-03 10:30 +0100 |
| Message-ID | <ai39qjFt65oU2@mid.uni-berlin.de> (permalink) |
| References | <38c11f96-5847-46f5-b4ab-6a9759dafaaf@googlegroups.com> |
Am 30.11.2012 15:15, schrieb cngrit: > In my script,I use mysql_connect to get a connection with mysql,now I want to know,after I used it ,I must to close it, or ignore it? > > if this connection will be used many times,i need to close it after the last time, or nothing to do? > > usually,which function you will use,mysql_connect or mysql_pconnect? > mysql_pconnect is broke, don't use it. mysql is obsolete, rather use mysqli, or even better, PDO. /Str.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
must I close mysql_connect? cngrit <cngrit0305@gmail.com> - 2012-11-30 06:15 -0800
Re: must I close mysql_connect? Jerry Stuckle <jstucklex@attglobal.net> - 2012-11-30 09:34 -0500
Re: must I close mysql_connect? cngrit <cngrit0305@gmail.com> - 2012-11-30 23:43 -0800
Re: must I close mysql_connect? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-12-03 10:30 +0100
Re: must I close mysql_connect? Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-03 06:52 -0500
Re: must I close mysql_connect? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-12-03 15:26 +0100
Re: must I close mysql_connect? Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-03 11:09 -0500
Re: must I close mysql_connect? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-12-03 20:05 +0100
csiph-web