I have this inquiry form. I wish to capture the fields and email via php script. Can anyone help me in doing that?

It uses html text field, select and textarea form elements.. In select name I wish to capture and email the option selected.




Enquiry For: Joining Courses Franchisee Corporate Training Others


Thanks a million in advance

Best Regards

if you want to send your inquiry form on your mail then use the below script:
if (isset($_POST['enquire'])) //Getting data from form.

$name = $_POST['name'];
$email = $_POST['email'];
$phone_no = $_POST['phone'];
$inqfor = $_POST['cmcenquiryform'];
$query = $_POST['query'];

$to = 'your email goes here'; //Change this with your email address.
$sunject = "Inquery form Submitted by $name"; //your subject goes here.
$message = "

Inquery form Submitted by $name

Here are the Inquiry Received by User!

Name:$name Email:$email Phone Number:$phone_no Inquiry for:$inqfor Query:$query

"; //Your Message Goes Here. edit with your requirement.

// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

// Additional headers
$headers .= ...

Have u Upload ur .flv file in particular directory. if not then first upload flv file in directory and then try to access it.
or if u want to change the file permission then open ftp client and right click on file and select Properties. There Change file permission to read, write.

Hay murty14,
Why not you use the code that is posted by atli in [URL="http://www.daniweb.com/forums/post1046310.html#post1046310"]#24[/URL] reply.
This is best and fully working for me.

Thank You.

Suresh_13 commented: this is for multilevel. if we think from position left or right then this code not working +0

witch type of project title you want?

Please Help me...

if your script is work and ur problem is solved then please mark this thread to solve.

Hi all,
I am New in Javascript and Not Having too Much Knowledge of Javascript. I Have a Javascript That Disable Enter Key in Textarea in Whole Form in Page. but I Want to Disable Enter Key only One Textarea.

Below is my Code:

The Title Of Your Page Goes Here! function checkCR(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && (node.type=="text")) {return false;} } document.onkeypress = checkCR;

Enter Your Number

Enter Your Message


The Above Code Work Fine but This Disable The Enter Key in Twice Textarea but I Want to Disable Enter Key Only in First Textarea That is "field1".

Please Help Me.
Thank You.