Hello there guys, and thank you for reading...
I could not find a php section, so i am posting this here.
I am working on a website for my company (http://www.laundrotech.net)
The inputs I need from the customer are:
First name
Last name
Adress:
Phone Number:
Brand:
Model Number:
Serial Number:
Estimated Data Of Purchase:
I have a Vbulletin website, which is PHP, and it supports html on the widgets...
so ... I think I need a html form, and a php code to send the email. but I do not know how to do it.
I am trying to avoid using the database to store this info... if the info goes directly to my email, that should be fine.
Thank you very much...
Loading
Kirtan PatelPosted Jan 16, 2011, 11:07 PM
Lucas CostaPosted Jan 17, 2011, 10:28 PM
I tried it on the last line after the echo it didn't work,...
Then I tried it at the beginning of the code, and it worked.
Thx ! your help is very much appreciated.
Kirtan PatelPosted Jan 17, 2011, 10:00 PM
write
header('Location: http://www.example.com/');to redirect to another page after sending mail ..
thiago costaPosted Jan 17, 2011, 2:59 PM
thiago costaPosted Jan 17, 2011, 2:30 PM
I copyed and pasted your own code, and added the body values.
Your a genious bro.
$body = "First Name :".$firstname."\nLast Name :".$lastname."\nAddress :".$address."\nPhone :".$phone."\nBrand :".$brand."\nModel No :".$modelno."\nSerial No :".$serialno."\nEstimated Purchase Date :".$estimate_date ;
Because I was only getting the first and last name,
Kirtan,
Thank you very much my friend...
You gave my day many lights..
Thank you
--Note--
I am helping lucas (my brother)
I am actualy going to use this form on my website as well !
You just helped 2 people with 1 answer bro !!
Our website are twins !!!
Check it out !!
www.laundrotech.net --Lucas
www.ultracomputers.info --Mine
On the service request page of lucas's site, theres where your code is :D
Lucas CostaPosted Jan 16, 2011, 11:14 PM