Forms and PHP -same subject, new thread!

  cowgirl66 14:09 18 Jul 2006

I am still trying to work my way into PHP. And this must sound really stupid but for the fact I'm only a beginner, but I don't understand how, if you put the name of the .php file in the Action box of your email form and not your email address as in "mailto:myeamiladdress", how does the .php file know which email address to go to?

  ade.h 16:55 18 Jul 2006

Because your email address is in the PHP file. At the bottom, you'll see:

mail( "my email address", "Form Message",
$mail_message, "From: $name <$email>" );

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

What went wrong at the Designs of the Year 2017

iPhone X news: Release date, price, new features & specs

Comment regarder des séries et talk-shows américains en France ?