The error was on line 19 where the sql statement is being assigned to $q var.
Code: Select all
$dba = new ps_DB;
$q = "SELECT domain_host_id FROM domains WHERE
domain_account_id = '$account_id' AND
domain_host_status = '1'";
$dba->query($q);Code: Select all
$dba = new ps_DB;
$q = "SELECT domain_host_id FROM domains WHERE
domain_account_id = '$account_id' AND
domain_host_status = '1'";
$dba->query($q);One thing I noticed on this website was excessive use of blank lines which made it difficult to read the script. I'm guessing whoever was originally doing the coding hit this problem and found putting in extra blank lines made it go away. I wrote a program to remove extra blank lines from the script and proceeded to test it - hence the error.
PHP version 4.4.1 is running on the server - Has anyone ran into this problem - Is it a server problem, or a schizophrenic php engine?
Michael