PHP Contact Form

Bill Horne ehorne-zY4eFNvK5D9If6P1QZMOBw at public.gmane.org
Wed Sep 2 12:43:27 EDT 2009


KyleL wrote:
> Hi Everyone, I am trying to put together a contact form, that includes name
> (F,L), street address, email, and message, I know how to make it send the
> email, but I can't for the life of me figure out how to configure the PHP to
> include the name and so forth in the message.
>
> The layout would end up being (in the email)
>
> First name Last name
>
> Street address information
>
> message.
>
> any help would be much appreciated.
>
>   
Kyle,

Use the PHP Mail function: http://php.about.com/od/advancedphp/ss/mail.htm

You can design a regular form to gather the info, and then pass it to a 
php page which formats the inputs as you need.

HTH.

Bill

-- 
E. William Horne
William Warren Consulting
Computer & Network Installations, Security, and Service
http://william-warren.com
781-784-7287







More information about the Discuss mailing list