View Single Post
Old 12-15-2012, 04:36 AM   PM User | #6
fail
Regular Coder

 
Join Date: Dec 2009
Location: Hong Kong
Posts: 118
Thanks: 8
Thanked 0 Times in 0 Posts
fail is an unknown quantity at this point
Solved the problem by using isset for each error at the beginning of the page:

PHP Code:
if (!isset($_POST['rthk']))   {    $_POST['rthk'] = ""; } 
Another way is to change error_reporting = in xampp\php\php.ini

But maybe a better way is to leave it in php.ini at the default error_reporting = E_ALL | E_STRICT and and use on your page i.e. error_reporting("E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR");

I am aware that it's better to have all errors reported and just write better code.
fail is offline   Reply With Quote