Re: Form variables lost when duplicate records are found !
| From: | Chris Shiflett | Date: | Tue, 02 Sep 2003 20:54:06 +0000 |
| Subject: | Re: Form variables lost when duplicate records are found ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161485@lists.php.net to get a copy of this message | ||
--- Pushpinder Singh Garcha <pgarcha@adelphia.net> wrote:
> I am making use of a php form to add company details to a MySQL
> Database. Before I add the form variables I am checking to see if the
> SAME company name exists in the DB. If the same company exists, then a
> notification is provided. In between this , the variables that were
> entered on the form are LOST. Is there anyway I can store the variables
> so that if a duplicate record was found to be present, then the forms
> variables are stored and NOT LOST ??
Of course.
However, I don't understand what you need help with.
> Is there anyway I can store the variables...
There are many ways to store data with PHP. You can use the filesystem, a
database, etc. Are you asking how to store data?
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/