Re: Help Needed

From: Date: Tue, 15 Oct 2002 18:29:10 +0000
Subject: Re: Help Needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120055@lists.php.net to get a copy of this message
> I am trying to create an online survey using PHP ...I am using MySQL as > the database and MAC OS Jaguar. I do not need the results to be added to > the database. I need to be able to send the results of the survey to an > email address....I know that this is possible using MS FrontPage but > with PHP I am not so sure. Please help. I'm in the middle of a survey project right now, actually, but it's probably more complex than you need. The easiest way to do this would be to have your survey be a basic HTML page. Then use a single PHP processing page. You could just write the value of $_POST to a variable and send that in your email. $string = implode("\n",$_POST); mail($to,$subject,$string); That would just send you the answers though. Apply some extra formatting to $string to include your questions and you should have what you need. ---John Holmes...

« previous php.general (#120055) next »