Alx
07 May 2009, 12:13 PM
my PHP pages are NOT displaying any mysql errors, making it very hard to debug.
i am not connected to a local db. i am connected to an external db through an IP. im sure this has something to do with it.
i put this code in to get PHP to show up, but still no mysql errors.
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
error_reporting(E_ALL);
any ideas?
i am not connected to a local db. i am connected to an external db through an IP. im sure this has something to do with it.
i put this code in to get PHP to show up, but still no mysql errors.
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
error_reporting(E_ALL);
any ideas?