Fixed by editing PHP.ini
Thanks for responding. From what your saying then, it sounds like apache/xampp may be allowing the error messages to be displayed.
I will have a look into it. I have attached the 2 php files for your attention.
Thanks again Jason
John
Hi Jason,
After further investigation I found out that the latest version of xampp has the php error reporting on strict as well as show all errors. The solution was to edit the .ini file to the following...
;error_reporting = E_ALL | E_STRICT
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
The errors are no longer showing, so thanks again
john