Hi, The connect simply connects and then closes the connection when done. pconnect attempts to keep the connection open then you have to use a script step to close the connection. For a script that uses one query to MySQL connect is fine. For a script that uses multiple queries pconnect can give you a performance boost by not having to negotiate the connection for each query since the connection is persistent. -- Mike Brandonisio * IT Planning & Support Tech One Illustration * Database Applications tel (630) 759-9283 * e-Commerce mailto: [EMAIL PROTECTED] * http://www.techone.org/
On May 29, 2005, at 3:36 PM, Javed Ahmed wrote: > Well i really didnt get the differnece in using mySQL_connect and > mySQL_pconnect functions. Can anyone guide me by advicing for use in > PHP5. > Javed. > > > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > Yahoo! Groups Links > > > > > > > > > Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
