why do not p in mysql_connect work?
View Single Post
06-27-2008, 03:07 PM
Join Date: Oct 2007
Location: Manchester, UK
Basically there are some major differences:
creates a 'persistent' connection therefore the link to the database is always open,
however isnt like that and its links are closed when the script finishes and therefore must be reopened.
searches for exisiting persistent connections ans re-uses them if they are found,
on the other hand, does not.
Links created with
cannot be closed with
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
Last edited by sketchMedia : 06-28-2008 at
. Reason: added 'persistent' to clarify my point
The Following User Says Thank You to sketchMedia For This Useful Post:
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia