Passing object from PHP to Mysql Stored procedure

Posted by user268982 on Stack Overflow See other posts from Stack Overflow or by user268982
Published on 2010-03-19T13:25:54Z Indexed on 2010/03/19 13:41 UTC
Read the original article Hit count: 477

Filed under:
|
|
|

Hi All,

Scenario :- I have to call MYSQL stored procedure from PHP and do some operations ( around 15 commands ) on the database

Problem :- I have to call stored procedure with 36 parameters. Lot of parameters . I don't think it is a good idea to pass these many individual parameters and even heard passing individul parameters increases network traffic.

Looking for :- I created a Data Object at PHP side and is there any way I can create similar kind of Object in MYSQL and pass this object as a parameter and extract the data from the object in MYSQL stored procedure

Thanks for your help Regards Kiran

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php