Subject RE: [firebird-php] echo resultin sql
Author Darren
i want to echo the insert statement not just the values because i am
getting a numeric overflow error on one csvline and the csvfiles are
thousounds of lines. I can understand that it gets a resource id in fact
i am fine with that and will have just echo the values but
the bottom piece of code isnt it $rec that contains the pointer? and not
$obj on the first line when i use the below method i get supplied
argument is not a valid InterBase result resource?
On Thu, 2005-08-11 at 16:25 +1000, Nigel Weeks wrote:
> $obj = ibase_execute($prep);
> // $obj now contains a result set pointer
>
> $obj = ibase_fetch_object($rec);
> // $obj now contains an object of values from your query
>
> echo $obj->HENRY.$obj->JONES;