(hopefully) quick php question
Date: 01/25/08
(Web Development) Keywords: php, web
Okay, so I've got a contact form in PHP. Works fine, functions fine.
The client would like it so that the email that the user inputs is the "from" email when the information comes in so that when the office hits "reply" on the emails, they don't have to copy & paste the email into the "to" field. (Acc to the guy that I'm subcontracting from, the doctor we're building for "isn't very computer saavy & can't copy & paste". Considering these people handle surgeries on a regular basis, I'm a little frightened by that, but okay)
My code goes thusly:
// Declare some constants
define("EMAIL_FROM", "client Name ");
and I know that theoretically, what I need to do is have the code input the value of the email variable to where it says ... but I'm kinda burnt out today & my brain just doesn't want to do the math, so I'm doing what I always do - ask you guys for help. ;)
Anyone got a cheat sheet I can use? Or one you can point me towards?
Thanks!
x-posted to webdev
Source: http://community.livejournal.com/webdev/461000.html