hmm.. ok.. - But why does this not work then:
$mylink = OCIlogon(defined here);
$allcompanyq = "SELECT count(salesperson) FROM company WHERE salesperson='$salesperson'";
$lort5 = OCIparse($mylink, $allcompanyq);
OCIexecute($lort5);
$allcompany[$i] = OCIResult($lort5,"COUNT");
When I look manually in the DB, I get this result:
COUNT(SALESPERSON)
409
Any ideas ?
/mich