new php function
| From: | Grigoriy G. Vovk | Date: | Mon, 16 Oct 2000 10:52:02 +0000 |
| Subject: | new php function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35113@lists.php.net to get a copy of this message | ||
I've added new php function - odbc_executesp
It execute stored procedure and get returned values from it.
It recieve 3 arguments - result_id, parameters_array, type_array.
type_array can contain value "in", "out", "inout"
If value is "out" - in the parameter_array will be returned value from the
stored procedures.
I wanted to do this with 2-deimension array, but, I don't know how get
values from 2-diminsion array.
And there is one restrictions now - if we expect returned value and put
"out" into type_array, we must put any string in parameter_array, if put
empty string, function will not work, I don't know why.
If anybody want to see my code. I can sent diff files.
May be, anybody can rewrite it with 2-dimension array and without
restriction, or help me to do this.
Sorry for my english - it's very dificult for me, write on english.
-----------------------------
Grigoriy G. Vovk
Grigoriy.Vovk@parmastocks.com