Jump to content

Shermanator

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Shermanator

  • Rank
    Newbie
  1. more over, the problem i am experiencing seems less to do with the php and more to do with the form tags in the html itself.
  2. running through GoDaddy. Maybe I have been assuming it has php because it does brag about it, but am currently checking the server.
  3. did you also mean ENTIRE page's code, or just where the php is involved?
  4. per your request...<?phpif (isset($_REQUEST['email'])) { //send email mail("joshua-sherman@live.com", $subject, $message, "From:" . $email); $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; echo "Thank you for using our mail form"; }else { echo "<form method='post' action='mailform.php'> Email: <input name='email' type='text' /><br /> Subject: <input name='subject' type='text' /><br /> Message:<br /> <textarea name='message' rows='15' cols='40'> </textarea><br /> <input type='submit' value='Submit' /></form>";}?>
  5. While I'm sure the solution is staring me dead in the face I cannot see it. Offending code is as follows..."<form method='post' action='mailform.php'> Email: <input name='email' type='text' /><br /> Subject: <input name='subject' type='text' /><br /> Message:<br /> <textarea name='message' rows='15' cols='40'> </textarea><br /> <input type='submit' value='Submit' /></form>";}?>when compiled onto a web page the "submit button" is followed by ";?> it's just a copied version of the form at http://www.w3schools.com/php/php_mail.asp
×
×
  • Create New...