Jump to content

silee

New Members
  • Posts

    1
  • Joined

  • Last visited

silee's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi thereI am hoping you may get this message as I am having the exact same problem and my code looks similar, maybe from the same tutorial. I am not sure how you fixed the issue but was wondering if you could show me what you did? I have been fiddling with it for a couple of days now and not sure what else to try. I would be grateful for any help!!! Thanks! From contact.php file: <?php $s=$_GET['s']; if($s="1") {echo('<span class="success">Your email has been sent to our web team. Please allow a 24 hour response time </span>');} else if($s="2") {echo('<span class="fail">Sorry ! Your message has not been sent to our web team. Please fill the form correctly and try again </span>');} ?> As well as the css in my head section: <style type="text/css"> .success { color: #333300; margin-left: 15px; } .fail { color: #993300; margin-left: 15px; } </style> _____________________ send.php file: if($security=="10"){ mail($to,$subject,$message); header("location:contact.php?s=1"); } else{ header("location:contact.php?s=2"); }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.