Stored Procedures

I am working on a Flex application that needs to call a Stored Procedure using PHP. This proved to be a real challenge, and since I could not find a lot of information on how it was done, I thought that I would post it here. It might not be the best way of doing…