Subject | SP selects?? |
---|---|
Author | Alan McDonald |
Post date | 2003-10-31T01:18:19Z |
I have an SP which executes with params and returns a success code..
I am using ibase_query(SELECT CODE FROM MYSP(PARAM1, PARAM2)
The query runs fine - I see the result in the db, I can also see the return
value ok if I run it manually.
But I can't get the return value from either
while ($row = ibase_fetch($sth)) {
print $row->ins_ok."\n";
}
or
while ($row = ibase_fetch_object($sth)) {
print $row->ins_ok."\n";
}
or $row[0] syntax...
Is there an issue with this? can I get the result from a select SP this way?
thanks
Alan
[Non-text portions of this message have been removed]
I am using ibase_query(SELECT CODE FROM MYSP(PARAM1, PARAM2)
The query runs fine - I see the result in the db, I can also see the return
value ok if I run it manually.
But I can't get the return value from either
while ($row = ibase_fetch($sth)) {
print $row->ins_ok."\n";
}
or
while ($row = ibase_fetch_object($sth)) {
print $row->ins_ok."\n";
}
or $row[0] syntax...
Is there an issue with this? can I get the result from a select SP this way?
thanks
Alan
[Non-text portions of this message have been removed]