Php Functions For Mysql Commands