«^»
4.1. Introduction

As has already been indicated, PHP allows you to access a lot of different things. Because of this, PHP has a large number of pre-defined functions. This is the main reason why the manual for PHP is enormous. Most of the sections of the manual you can ignore until you need the topic described by the section.

Here is a simple example of a call of a pre-defined function. The date function can return the current date (and time) in various formats:

0085: <HTML><BODY>
0086: <?php
0087:    $today = date("Y-m-d");
0088:    print "<CENTER>today is: $today.</CENTER>";
0089: ?>
0090: </BODY></HTML>
Go to the script at: http://www.dur.ac.uk/barry.cornelius/papers/phpintro/code/today.php