Instruct: Classify Amazon reviews into positive or negative sentiment
Query: A Hard Subject Made Easy as Possible

Larry Ullman does a good job in this book. He said it right. This book is a crash course in PHP and MySQL. He explains the topics very well, but you may want to buy his other two books before you buy this one.