I'm overriding the current settings of php.ini using ini_set like this in the developing phase:
ini_set('display_errors', 1);
ini_set('error_reporting', 2047);
ini_set('mysql.trace_mode', 1);
printf("<P>%s%s", $ffr);
$msc = mysql_connect("localhost", "webuid", "webpwd");
mysql_select_db("kgy", $msc);
$mq = "SELECT * FROM test";
$mqr = mysql_query($mq);
- - -
* trigger an error because of the missing argument and missing variable definition
*triggers an error because the table does not exists
But when I try to put the ini_sets in a separate file to include it to the current script being developed no errors show. Is there no way to do this? Do I really have to copy paste all three rows to make it happen?
ini_set('display_errors', 1);
ini_set('error_reporting', 2047);
ini_set('mysql.trace_mode', 1);
printf("<P>%s%s", $ffr);
$msc = mysql_connect("localhost", "webuid", "webpwd");
mysql_select_db("kgy", $msc);
$mq = "SELECT * FROM test";
$mqr = mysql_query($mq);
- - -
* trigger an error because of the missing argument and missing variable definition
*triggers an error because the table does not exists
But when I try to put the ini_sets in a separate file to include it to the current script being developed no errors show. Is there no way to do this? Do I really have to copy paste all three rows to make it happen?