Re: MySQL Database Connection Question

From: Date: Thu, 08 Jul 2004 14:21:17 +0000
Subject: Re: MySQL Database Connection Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189963@lists.php.net to get a copy of this message
On Thursday 08 July 2004 09:59 am, Harlequin wrote: > I have a user registration form that asks new users to register. However, > Do I post the MySQLconnection string in the page they are completing or in > the later page that the data is posted to, or both...? I don't think I understand your question, but let me take a stab at it anyway. There should be no reason to pass along the mysql connection ID in a form as it will be quite useless when the page is submitted because these connections are dropped when your PHP program ends execution. You will need to make a new connection to the database in order to store the entered values from a form submission. If I didn't get your question right, please be more clear about what you mean when you say MySQLconnection string. James Hicks

« previous php.general (#189963) next »