Alright, i'm done with the MySQL part, now lets begin with the PHP! ;D
-
Be sure to look into PDO (http://php.net/manual/en/book.pdo.php); Many books I've skimmed through completely skipped it, and it makes PHP<->SQL interactions so much more convenient and powerful.