Calling stored procedures from logic hooks

Thanks for your reply. Tried that method before posting here, with no luck. This morning I will try to write a fresh PHP page to test mysqli module with stored procs.
I would like to use them to avoid lot of php code: MySQL joins are much more elegant.