I've been trying to look up how to use stored procedures to write up a query page so that I can search a database for information. I've seen a lot of code in plain SQL but I haven't been able to understand any of it. I was wondering if anyone could help me understand in simple terms on how stored procedures work for queries and how to do it with PHP.