Click here to Skip to main content
15,901,853 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: FaceBook Like Comment Box in asp.net Pin
Richard MacCutchan23-Mar-17 22:56
mveRichard MacCutchan23-Mar-17 22:56 
AnswerRe: FaceBook Like Comment Box in asp.net Pin
User 418025429-Mar-17 5:19
User 418025429-Mar-17 5:19 
AnswerRe: FaceBook Like Comment Box in asp.net Pin
ZurdoDev29-Mar-17 6:01
professionalZurdoDev29-Mar-17 6:01 
QuestionThe server responded with a status of 404 Pin
Kevin Marois23-Mar-17 5:21
professionalKevin Marois23-Mar-17 5:21 
AnswerRe: The server responded with a status of 404 Pin
F-ES Sitecore23-Mar-17 23:32
professionalF-ES Sitecore23-Mar-17 23:32 
QuestionFront Page ideas? Pin
Member 1307776622-Mar-17 10:11
Member 1307776622-Mar-17 10:11 
QuestionRe: Front Page ideas? Pin
Richard MacCutchan22-Mar-17 10:45
mveRichard MacCutchan22-Mar-17 10:45 
AnswerRe: Front Page ideas? Pin
Nathan Minier23-Mar-17 1:18
professionalNathan Minier23-Mar-17 1:18 
Question[MODIFIED] - ASP.Net MVC - "A data source must be bound before this operation can be performed" Pin
Kevin Marois22-Mar-17 5:47
professionalKevin Marois22-Mar-17 5:47 
AnswerRe: [MODIFIED] - ASP.Net MVC - "A data source must be bound before this operation can be performed" Pin
Richard Deeming22-Mar-17 6:24
mveRichard Deeming22-Mar-17 6:24 
GeneralRe: [MODIFIED] - ASP.Net MVC - "A data source must be bound before this operation can be performed" Pin
Kevin Marois22-Mar-17 6:55
professionalKevin Marois22-Mar-17 6:55 
QuestionMessage Closed Pin
20-Mar-17 1:59
professionalQuuick20-Mar-17 1:59 
QuestionRe: What are 5 essential skills every Web Developer should have? Pin
Nathan Minier21-Mar-17 1:33
professionalNathan Minier21-Mar-17 1:33 
AnswerRe: What are 5 essential skills every Web Developer should have? Pin
ZurdoDev21-Mar-17 1:46
professionalZurdoDev21-Mar-17 1:46 
AnswerRe: What are 5 essential skills every Web Developer should have? Pin
Amarnath S21-Mar-17 1:50
professionalAmarnath S21-Mar-17 1:50 
QuestionHtml Contact form with PHP Pin
lapeci15-Mar-17 3:11
lapeci15-Mar-17 3:11 
Hello Everyone

I need help with html form using php. I have created a form on my web page where customer can fill up the form and with submit button to send to my email the entire data content filled in and to be displayed to my email. When i press the submit button no email is coming, Could someone please help me solve this problem and just for reference i'm new to php technology. I have the php code which i will provide.

PHP
<?php 

if(isset($_POST['submit'])) {
		$full_name=$_POST['full_name'];
		$email=$_POST['email'];
		$telephone=$_POST['telephone'];
		$purposeJourney=$_POST['purposeJourney'];
		$Vehicle-Type=$_POST['Vehicle-Type'];
		$journeyFrom=$_POST['journeyFrom'];
		$startDestinationPostcode=$_POST['startDestinationPostcode'];
		$date=$_POST['date'];
		$Hour-Field[h]=$_POST['Hour-Field[h]'];
		$Minute-Field[m]=$_POST['Minute-Field[m]'];
		$AM_PM-Field[ap]=$_POST['AM_PM-Field[ap]'];
		$journeyTo=$_POST['journeyTo'];
		$endDestinationPostcode=$_POST['endDestinationPostcode'];
		$return=$_POST['return'];
		$return=$_POST['return'];
		$returnJourneyDate=$_POST['returnJourneyDate'];
		$Return-Journey-Time[h]=$_POST['Return-Journey-Time[h]'];
		$Return-Journey-Time[m]=$_POST['Return-Journey-Time[m]'];
		$Return-Journey-Time[ap]=$_POST['Return-Journey-Time[ap]'];
		$message=$_POST['message'];
		/*$success=$_POST['success'];*/

		$to="e_chauffeur@hotmail.com";
		$subject='the subject';
		$message="Name: ".$full_name."\n" "Email: ".$email."\n" .$telephone."\n" .$purposeJourney."\n" .$Vehicle-Type."\n"
				.$journeyFrom."\n" .$startDestinationPostcode."\n" .$date."\n" .$Hour-Field[h]."\n" .$Minute-Field[m]."\n" .$AM_PM-Field[ap]."\n"
				.$journeyTo."\n" .$endDestinationPostcode."\n" .$return."\n" .$return."\n" .$returnJourneyDate."\n"
				.$Return-Journey-Time[h]."\n" .$Return-Journey-Time[m]."\n" .$Return-Journey-Time[ap]. "Wrote the following: "."\n\n" .$message;
		$headers="From: ".$email;

		if(mail($to, $subject, $message, $headers)) {
			echo '<h1>Your message has been send successfully, Thank you' .$full_name.' We will contact you very shortly...</h1>';
			/*echo "<h1></h1>";*/
		}
		else {
			echo '<h3>Something went wrong!</h3>';
		}
	}
?>

AnswerRe: Html Contact form with PHP Pin
Jochen Arndt15-Mar-17 4:39
professionalJochen Arndt15-Mar-17 4:39 
GeneralRe: Html Contact form with PHP Pin
lapeci15-Mar-17 6:21
lapeci15-Mar-17 6:21 
GeneralRe: Html Contact form with PHP Pin
Jochen Arndt15-Mar-17 6:33
professionalJochen Arndt15-Mar-17 6:33 
AnswerRe: Html Contact form with PHP Pin
biplob-hider18-Mar-17 2:26
professionalbiplob-hider18-Mar-17 2:26 
QuestionASP.Net Core Web Config Properites Pin
Member 1061576012-Mar-17 9:54
Member 1061576012-Mar-17 9:54 
AnswerRe: ASP.Net Core Web Config Properites Pin
Kornfeld Eliyahu Peter13-Mar-17 1:14
professionalKornfeld Eliyahu Peter13-Mar-17 1:14 
QuestionPHP WITH BIOMETRIC Pin
Member 117865228-Mar-17 1:31
Member 117865228-Mar-17 1:31 
AnswerRe: PHP WITH BIOMETRIC Pin
ZurdoDev10-Mar-17 6:53
professionalZurdoDev10-Mar-17 6:53 
GeneralRe: PHP WITH BIOMETRIC Pin
Member 1178652210-Mar-17 7:12
Member 1178652210-Mar-17 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.