PHP SQL Class

After getting tired of typing the same SQL commands into PHP scripts,  I decided I should make a simple class to do all of the hard work, and generally make things quicker. Here is the code so far: <?php class mysql { // Connect to the MySQL host and select the database function connect() { $hostname = “SQL_Address.site.com:port”; $database = “SQL_DB”; $username = “SQL_Username”; [...]