PHP

PHP Exceptions

What is a PHP Exceptions case? An error or strange thing that a PHP script does is described by an object called an exception. Many PHP functions and classes throw exceptions. Functions and classes made by the user can also throw exceptions. Using exceptions is a good way to stop a function when it finds […]

PHP Exceptions Read More »

PHP Date and Time

With the PHP Date and Time function date(), you can change the way a date or time looks. The PHP Date() Function Date() is a function in PHP. With the PHP date() function, a timestamp is turned into a date and time that is easier to read. Syntax date(format,timestamp) Parameter Description format Required. Indicates how

PHP Date and Time Read More »

PHP Form Example

This chapter shows how to keep the values in the input fields when the user clicks the “Submit” button. PHP: Keep the Form’s Values We put a small PHP script inside the value attribute of the name, email, and website input fields so that when the user clicks the submit button, the values in those

PHP Form Example Read More »

PHP Form Validation

PHP Form Validation When you process PHP forms, think about SECURITY! Here you will learn how to handle PHP forms in a way that is safe. To protect your form from hackers and spammers, it’s important to make sure that the form data is correct. Input fields on the HTML form we’ll be working on

PHP Form Validation Read More »

PHP Form

What does Form mean? A document with blank spaces where the user can type in data or pick it from a list. The data will be stored in the database in a casual way. Websites that change often are called “dynamic websites”. Forms give you the tools you need to store, change, get, and get

PHP Form Read More »

Scroll to Top