Lou Posted June 21, 2011 Share Posted June 21, 2011 This is a great new edition, but I think using the mysql function was a mistake. New PHP books should use mysqli instead. Why did you use the older version for this book? Link to comment Share on other sites More sharing options...
Larry Posted June 21, 2011 Share Posted June 21, 2011 Thanks for the nice words on the book, Lou, and for your question. I agree that everyone should be using MySQLi, if they can. However, a surprising number of Web hosts still don't support MySQLi. And the mysql functions are more forgiving in terms of forgetting to specify the database connection. So I think for beginners, the mysql functions are the softest introduction still. In the next edition, I'll probably make the switch, but this is something I consider and, especially because this book is for beginners, I'm erring on the side of caution. Link to comment Share on other sites More sharing options...
Recommended Posts