The answer is as given in the comment by brombeer:
if(isset($_POST['submit'])){
will never be triggered, there is no
HTML element withname="submit"
– brombeer
More Related Contents:
- What is the best way to do this site redirection
- How to get the value from and save to Database in php
- check if link “still” exists [duplicate]
- How to execute a line of code once?
- How to provide dynamic HTML in PHP?
- Make a variable height div? [closed]
- Send HTML in email via PHP
- Parse error: Syntax error, unexpected end of file in my PHP code
- 500 Internal Server Error for php file not for html [duplicate]
- Disable warnings when loading non-well-formed HTML by DomDocument (PHP)
- How to remove both .php and .html extensions from url using NGINX?
- Parse HTML with PHP’s HTML DOMDocument
- How can I properly escape HTML form input default values in PHP?
- How to replace text URLs and exclude URLs in HTML tags?
- PHP expression
- First drop down menu to auto change the options of a second dropdown
- Execute javascript in PHP
- Setting value of a HTML form textarea?
- php variable inside echo ‘html code’
- HTML Upload MAX_FILE_SIZE does not appear to work
- Converting HTML to PDF (not PDF to HTML) using PHP [closed]
- Using PHP to get DOM Element
- Notice: Undefined offset: 0 in
- Process HTML files like PHP
- How come checkbox state is not always passed along to PHP script?
- How can I echo the whole content of a .html file in PHP?
- How to wrap long lines without spaces in HTML?
- PHP DOM get nodevalue html? (without stripping tags)
- POST arrays not showing unchecked Checkboxes
- saving checkbox state on reload