Results 1 to 3 of 3

Thread: Provide Insight about the Difference

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    82

    Provide Insight about the Difference

    I want to know the difference between mysql_connect() and mysql_pconnect()? A brief idea on this is welcome.


  2. #2
    Contributing Member
    Join Date
    Jul 2006
    Answers
    93

    Re: Provide Insight about the Difference

    The following two links gives a detailed explanation on the difference between mysql_connect() and mysql_pconnect()

    http://www.php.net/manual/en/function.mysql-pconnect.php

    PHP: mysql_connect - Manual



  3. #3
    Expert Member
    Join Date
    Apr 2006
    Answers
    124

    Re: Provide Insight about the Difference

    mysql_connect - opens a connection to the mysql server and closes when we use mysql_close

    mysql_pconnect - this opens a constant connection to the mysql server which cannot be close by mysql_close and can be reused.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact