+ 1

Help with this code

if i click submit it displays the PHP code show me where i am wrong... <!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Paint Splash</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Paint Splash with CSS3 - A Css-only Paint Splash" /> <meta name="keywords" content="css3, css-only, fullscreen, background, slideshow, images, content" /> <meta name="author" content="Codrops" /> <link rel="shortcut icon" href="../favicon.ico"> <link rel="stylesheet" type="text/css" href="css/style5.css" /> </head> <body id="page"> <div class="container"> <div id="logo"> <h1> PAINT SPLASH </h1> <h2> Colour in style </h2> </div> <div id="top-nav"> <h2> <ul> <li><a href="index.html">HOME</a></li> <li><a href="gallery.html">GALLERY</a></li> <li><a href="about.html">ABOUT</a></li> <li><a href="contact.html">CONTACT</a></li> </ul> </h2> </div> </div> <div id="clear"> </div> <div id="wrapper"> <div id="contact"> <h2> Contact us</h2> <form action="contact.php" method="post" name="contact"> <p>Name:</p> <p> <input type="text" required> </p> <p> <label for="email">Email:</label> </p> <p> <input name="email" type="email" required id="email"> </p> <p> <label for="tel">Tel:</label> </p> <p> <input type="tel" name="tel" id="tel"> </p> <p> <label for="textarea">Text Area:</label> </p> <p> <textarea name="textarea" required id="textarea"></textarea> </p> <p> <input name="submit" type="submit" id="submit" formmethod="POST" value="Submit"> </p> </form> </div> <div id="map">

15th Oct 2017, 11:50 AM
Kollynce Kryme
Kollynce Kryme - avatar
6 Answers
+ 2
Probably it cant find php web server. Where did you run your code?
15th Oct 2017, 11:56 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
You need to install local Php server.
15th Oct 2017, 12:14 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
Your Pc needs to have Php server environment installed before can parse any PHP code. For Windows, you need to install XAMPP or WAMP, for Mac is MAMP
15th Oct 2017, 12:23 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
on my computer
15th Oct 2017, 12:11 PM
Kollynce Kryme
Kollynce Kryme - avatar
+ 1
explain please
15th Oct 2017, 12:15 PM
Kollynce Kryme
Kollynce Kryme - avatar
+ 1
thank u for that it means that the code is fine
15th Oct 2017, 12:25 PM
Kollynce Kryme
Kollynce Kryme - avatar