I can't test this right now ..for reasons too complicated to explain. A script had been saved in dos mode so there was M at the end of each line...
this sql statement spans multiple lines:
$sql = "SELECT
empl_key,
bus_office,
bus_div
FROM
data_employee
WHERE
empl_dom = '" . $data['dom] . "'
AND
empl_user = '" . $data['user'] . "'
AND
empl_active = 1";
$result = $db->query( $sql );
And it appeared to crash at the line. (we are using pear, but I don't think that would matter?) There are many other factors that might cause the server to crash..but we thought maybe this might cause it? anybody know?