Subject | Re: [firebird-php] Firebird stored procedures |
---|---|
Author | Milan Babuskov |
Post date | 2003-10-16T10:30:37Z |
moscow@... wrote:
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
> I'm using 1.0.3 with php 4.3.2, but am unable to run a stored procedureTry to 'select from org_chart' instead of executing it.
> without error.
>
> My code is:
>
> <?php include "dbconn.php";
>
> $sql = "execute procedure org_chart";
> $result = ibase_query($conn, $sql);
>
> ?>
>
> Although I am able to execute the org_chart procedure directly within
> ibexpert (it requires no parameters - and some may recognise it as being
> in the firebird download examples), each time I try to run the above, I
> get a warning for a message length error (encountered 0, expected 93).
>
> The $conn is correct, as I can do a simple table query without problems -
> it just seems to be the procedure that causes errors.
>
> Any ideas?
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net