Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,287 members, 7,954,144 topics. Date: Friday, 20 September 2024 at 01:03 PM |
Nairaland Forum / Science/Technology / Programming / Help Needed In This Codes Plsss (760 Views)
Who Can Help Me Out With This Codes? / Special Codes To Format Text On Nairaland / Running Python Codes In Php (2) (3) (4)
(1) (Reply)
Help Needed In This Codes Plsss by switchmax8: 12:55pm On Jul 15, 2009 |
HELLO FELLAS, FIND BELOW THIS CODES I AM TRYING TO USE IT FOR A CONTACT PAGE BUT,WHENEVER SOMEONE SEND ME EMAIL THE RESULT ALWAYS COMES OUT IN STRAIGHT LINE INSTEAD OF EACH DETAILS TO BREAK INTO DIFFERENT STAGES.I WANT TO KNOW THE FAULT OR ADDITIONAL INFO THAT WILL BE ADDED TO MAKE IT WORK.I WILL REALLY APPRECIATE URGENT RESPONSE TO MY EMAIL wealthyemah@yahoo.com <?php if($_POST['name']==""{ print "You cannot leave the Name empty"; exit(); } if($_POST['arrival']==""{ print "You cannot leave the Arrival empty"; exit(); } if($_POST['apartment']==""{ print "You cannot leave the Apartment date empty"; exit(); } else{ $message= "Full Name:".$_POST['name']. "Arrival Date:".$_POST['arrival']. "Departure Date:".$_POST['departure']. "Country:".$_POST['country']. "Email Address:".$_POST['Email']. "Phone Number:".$_POST['phone']. "Apartment Name:".$_POST['apartment']. "Your Message:".$_POST['Message']; $to = "admin@mayfairapartmentrentals.com\r\n"; $subject = "contact form\r\n"; $from = "Apartment Rentals\r\n"; $headers = "From: $from\r\n"; mail($to,$subject,$message,$headers); print "<h3>Thanks,You will be contacted soon<h3>"; } ?> |
Re: Help Needed In This Codes Plsss by yawatide(f): 7:05pm On Jul 16, 2009 |
Solution already provided: https://www.nairaland.com/nigeria/topic-296796.0.html |
(1) (Reply)
Websites I Can Learn Java And Vb.net / You-freedom And Ip's / Code To Monitor Network Usage
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 18 |