Re: php forms

From: Date: Thu, 20 Jun 2002 00:19:53 +0000
Subject: Re: php forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103047@lists.php.net to get a copy of this message
on 20/06/02 3:53 AM, M.E. Suliman (essa@netactive.co.za) wrote: > Hi > > I need to create a form where info will be selected using checkboxes. How > would I be able to > > * send confirmation to user the user of their submission confirming their > choices mail() (that was real easy -- did you even think of looking in the manual?) php.net/mail -- send them an email with some words, and confirmation of their choices. > * Is it possible that the confirmation sent to the user have a unique > reference number a reference number can only be unique if you know what other reference numbers have already been sent. for example if you store the form data in a mysql table, then I'd have an auto-increment ID field, which will start at 1, and work it's way up with each form submission. if you're not working with a database, then you need some other way of remembering what the last "unique" id was, and incrementing that number by 1. Justin French

« previous php.general (#103047) next »