The Isle of Wight Web Hosting Company

PHP and MySQL

PHP

All Linux web hosting packages allow PHP (version 5) scripting as standard on all pages with .php extensions.

PHP is a scripting language that runs on the server and can write HTML dependent on external factors such as the date, an input from a form or the results of a database.  It can be used to include other files to allow you to insert parts of a template into a web page.

PHP can be used for the entire web page or just parts of it. 

To add PHP to a page start with <? and end with ?>.  Each line must end with a semi-colon.

To include a file in a page, the code would be <? include('header.txt'); ?> where the file to be included is header.txt.

MySQL

MySQL databases can be set up on all accounts from the professional package upwards.  These databases can be set up and maintained through the control panel. You are welcome to install phpMyAdmin on the server if you wish.

telephone: 01983 721264;   email: liam@islandwebservices.co.uk     skype: islandwebs
Isle of Wight Web Hosting Company, Highwood Lane, Rookley, Ventnor, Isle of Wight, PO38 3NN

Look-up domains: