PHP stand for Hypertext Preprocessor. It is a Server Side Scripting Language. PHP is an Open Source Software and is free to download and use. PHP scripts are executed on server. It supports many databases such as MYSQL, Informix, Oracle, Sybase, Solid,PostgreSQL, Generic ODBC, etc.
On the server side: the main difference between GET and POST is where the submitted is stored. The $_GET array stores data submitted by the GET method. The $_POST array stores data submitted by the POST method.
Register the variable into the session Pass the variable as a cookie Pass the variable as part of the URL.
asort() arsort() ksort() krsort() uksort() sort() rsort()
sizeof($array_variable) count($array_variable) Note: If we just pass a simple variable instead of a an array it will return 1.
The header() function sends a raw HTTP header to a client. It is important to notice that header() must be called before any actual output is sent.
mysql_create_db($database_name)
1.The include() function takes all the content in a specified file and includes it in the current file. If an error occurs, the include() function generates a warning, but the script will continue execution.
2. include_once() File will not be included more than once. If we want to include a file once only and further calling of the file will be ignored then we have to use the PHP function include_once().
3. require() The require() function is identical to include(), except that it handles errors differently. The require() generates a fatal error, and the script will stop.
4. require_once() The required file is called only once when a page is open and further calling of the file will be ignored.