I have no clue how to use php functions with mysql queries. How to pass different parameters and clauses with the mysql query to the database.. ect. I have been trying to find some kind of tutorials on this but I haven't had any luck.
Zend.com database tutorial
The class I use