php form required

This chapter shows how to make input fields required and create error messages if needed. PHP - Required...

php filter

Validating data = Determine if the data is in proper form. Sanitizing data = Remove any illegal characte...

php filter advanced

Validate an Integer Within a Range The following example uses the filter_var() function to check if...

php file

File handling is an important part of any web application. You often need to open and process a file...

php file open

In this chapter we will teach you how to open, read, and close a file on the server. PHP Open File...

php exercises

You can test your PHP skills with W3Schools' Exercises. Exercises We have gathered a variety of PHP...

php exam

   W3Schools offers an Online Certification Program. The perfect solution for busy profe...

php echo print

With PHP, there are two basic ways to get output: echo and print. In this tutorial we use echo or...

php datatypes

PHP Data Types Variables can store data of different types, and different data types can do different...

php cookies

What is a Cookie? A cookie is often used to identify a user. A cookie is a small file that the server...

php compiler

PHP Compiler (Editor) With our online PHP compiler, you can edit PHP code, and view the result in your...

php ref zip

PHP Zip Introduction The Zip files functions allows you to read ZIP files. Requirements The ZIP extensio...

php ref variable handling

PHP Variable Handling Functions The PHP variable handling functions are part of the PHP core. No install...

php ref stream

PHP Stream Introduction Streams are the way of generalizing file, network, data compression, and other...

php ref network

PHP Network Introduction The Network functions contains various network function and let you manipulate...

php comments

Comments in PHP A comment in PHP code is a line that is not executed as a part of the program. Its...

php callback functions

Callback Functions A callback function (often referred to as just "callback") is a function...

php ajax xml

AJAX can be used for interactive communication with an XML file. AJAX XML Example The following example...

php ajax poll

AJAX Poll The following example will demonstrate a poll where the result is shown without reloading...

php ajax php

AJAX is used to create more interactive applications. AJAX PHP Example The following example will demons...