How-to articles, tricks, and solutions about HTML
HTML Upload MAX_FILE_SIZE does not appear to work
In PHP, you can use the $_FILES array to check the size of an uploaded file.
PHP form - on submit stay on same page
To stay on the same page after a form submission in PHP, you can use the following steps.
php variable in html no other way than: <?php echo $var; ?>
Yes, that is one way to output the value of a PHP variable in HTML.
PHP/regex: How to get the string value of HTML tag?
In PHP, you can use the preg_match() function to extract the string value of an HTML tag.
Send value of submit button when form gets posted
In PHP, you can access the value of a submit button when a form is posted in the following way:
Setting POST variable without using form
To set the value of a POST variable in PHP, you can use the following code:
Submit html table data with via form (post)
Here is an example of how to submit an HTML table data via a form (using the POST method) using PHP: