Re: how to clear variabeles
| From: | Cody Caughlan | Date: | Tue, 27 Jun 2000 16:09:18 +0000 |
| Subject: | Re: how to clear variabeles | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-669@lists.php.net to get a copy of this message | ||
There is a function called unset() which you pass the variable to and it
basically destorys the variable and its value, ready to be initiliazed
again...would that help?
/Cody Caughlan
Eelco de Graaff wrote:
> Hi, i have created a php based form, data is posted to the mysql database. I
> have found that it is possible to do 2 postings to the database with the
> same data. Is there a function or a way to clear al the variabeles after the
> mysql_query function to make shure data is not duplicated posted?
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net