There are numerous good PHP tutorials on the web, please look at
this one for starters:
PHP Tutorial
If you already know Perl, PHP is easy as it is very similar. You
can create functions and even classes. PHP can be totally object
oriented. Three of the web pages I have here are using PHP in
combination with a MySQL database. These are the
Commands ,
MySQL/Distro List
and the
Bicycle Trips
page.
Here is
the code for the Bicycle Trips page, note the nice
function at the end of the section. The other two pages use the same
code but do not call the function to display the navigation links.
Here
is the code for the MySQL Distro List page. Note, how it displays a
form at the end to update the database and do some preliminary checking.