Accessing a database such as DB2 with PHP is simpler than accessing with J2EE/JDBC as explained in following tutorial.http://www.regdeveloper.co.uk/2006/08/09/db2_udb_part2/