Re: [PHP] OCIExecute hangs with invalid sql statement

2001-06-23 Thread Thies C. Arntzen
On Fri, Jun 22, 2001 at 11:27:42AM +0100, Euan Greig wrote: > The following code works fine if passed a valid sql statement in $sql, but > if not it hangs. > > $this->conn=OCIPLogon($orauser,$orapwd,$tns) or >die ("Could not log on to database"); > $this->stmnt = OCIParse($this->conn, $sql) o

[PHP] OCIExecute hangs with invalid sql statement

2001-06-22 Thread Euan Greig
The following code works fine if passed a valid sql statement in $sql, but if not it hangs. $this->conn=OCIPLogon($orauser,$orapwd,$tns) or die ("Could not log on to database"); $this->stmnt = OCIParse($this->conn, $sql) or die ("Could not initialize database query (parse)"); $result = OCIE