codingmasterRS Posted March 6, 2011 Share Posted March 6, 2011 How do I code a persistent connection with mysqli and PHP? I know back in mysql it was mysqli_pconnect, what is it for mysqli? Please do not refer to this page (http://www.php.net/manual/en/mysqli.persistconns.php) as it gives no example and makes little sense. Many thanks in advance. Link to comment https://forums.phpfreaks.com/topic/229739-mysqli-extension-and-persistent-connections/ Share on other sites More sharing options...
Pikachu2000 Posted March 6, 2011 Share Posted March 6, 2011 This didn't make sense to you? To open a persistent connection you must prepend p: to the hostname when connecting. Link to comment https://forums.phpfreaks.com/topic/229739-mysqli-extension-and-persistent-connections/#findComment-1183452 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.