I have inherited a php/mysql based personal fantasy league website. It uses about 8 pre-built PHP scripts and includes about 30 web pages where the html and php code is integrated. The PHP code is primarliy database reads and writes, using a PHP class called ezSQL for all of the database querying (I want to retain this), and looks very much like it was coded by a 'non-programmer'!
I need all of the PHP scripts and web pages to work in PHP5, as my webserver is being upgraded from 4 to 5 imminently, so this is purely a job to change any PHP which needs changing - not a complete re-write, even if the existing code structure is awful!
Two example pages are attached to get an idea of the work involved.