php - Why this form in html is not submitting? -
i don't understand why, when open html file form fill gaps , click on submit button, happens.
<form method="post" action="php file"> <label>name*</label> <input type="text" name="name" placeholder="your name"> <label>email*</label> <input type="text" name="email" placeholder="your email”> <label>category*</label> <select name="category"> <option value="1">first</option> <option value="2">second</option> </select> <label>phone*</label> <input type="text" name="phone" placeholder="your phone"> <label>website</label> <input type="text" name="web" placeholder="your website”> <label>message</label> <textarea name="message" placeholder="your message"></textarea> <button type="submit">send</button> </form>
the double quotes of placeholder differing make sure same
<input type="text" name="email" placeholder="your email”> <input type="text" name="web" placeholder="your website”>
Comments
Post a Comment