Cheers Larixk. Yeah I've tried using plain sql it's just difficult with this book. I think I need to maybe change the book I'm learning from.
Got any recommendations for that? The one I'm using at the moment is PHP & MySQL for Dummies, which is really clear for the PHP side but is making it confusing on the MySQL side of things.