On Thu, Feb 15, 2001 at 10:07:23AM -0500, Brian Lalor wrote:
> On Thu, 15 Feb 2001, Thies C. Arntzen wrote:
>
> > how should it?
> >
> > you would have to pass in the correct statement|connection
> > handle - elsewise it simply won't work!
>
> Ok, that was a cobbled-up code snippet; replace $this->conn with $conn,
> and $statement with $s.
>
> It still doesn't work...
<?
$db = ocilogon('tc','tc');
$stmt = ociparse($db,"insert into uni values (1)");
$success = @ociexecute($stmt);
if (! $success) {
var_dump(ocierror($stmt));
}
?>
works for me.
tc
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]