PHP MySQL in easy steps, 2nd editionupdated to cover MySQL 8.0 By Mike McGrath

Great book, in spite of maybe need to deep in topics it's super didactic, it has a great way to teach. consumer-economics Great book, easy to follow and includes lots of tips. Ciltsiz I like In Easy Steps books because they give the basics to get you going quickly. I like to learn by building on basics and being experienced in programming (as an amateur) I understand a lot of the foundational information. I need the nuances of specific languages. BTW Excel VBA is my favorite. But in the case of PHP , it has not been easy steps.Too many software books are too complicated to get started on kinda like asking the time is but instead of an answer you are given a book to build a clock (sometimes an atomic clock!). In Easy Steps is not a book on building a clock but gets you going in the basics so you can build from there.The problems I have with this book (PHP what to do when things don't work or at least some general guidance.Here are three:1) Stuck at page 11 when localhost didn't work as the book said. It did not display the webpage as it should have. The trouble is that there is no guidance as to what to do when it didn't work.1 Solution) For me, World Wide Web Publishing Service (WWWPS) was most likely the problem since it was using port 80. WWWPS is pre installed and automatically turned on in Windows 10. When I turned it off, localhost worked. But it is TBD if I broke anything turning it off. So I may need to visit that rathole again.2) Stuck at page 23 getting error message MySQL server has gone away. OK that's not expected so why did it go away? How do I get it back? What to do? As such, I'm down another rathole visiting a bunch of web pages until I find one that points me in a direction I can use!2 A) There is a discrepancy between the downloaded code and the book (page 22) relative to the connect_db.php file (as of Sept 20 2018). Line 4 has an @ sign in the download version. With the @ included, I got one error message. Without the @ I got much better error messages (three different error messages that lead me to the solution as described next).3) Still stuck at page 23.3 Solution) The current version of PHP is 7.2.8 (Sept 22 2018) and generally you are advised to install the latest version for any software. But there is a bug in 7.2.8 that is causing the problem encountered at page 22. Reverting to 7.2.4 fixes the problem (7.2.4 is what the book uses and was probably the most current available at its writing)) For information, search the bugs.php site for 76660 Bug #76660 Cannot connect to mysql 8 using Php 7.2.8In all honesty, number three is not the fault of the book. But when you are getting started, any trouble is a big deal and you are at a loss as to where to start looking. Yes, software and the systems they operate in are complex. When things work well it is great. It is when things don't work that we need guidance.So far I'm glad I got the book (and I'm no longer stuck) since it presents the basics and is getting me started. If there was better online support, I think this could be a five star book.I've bumped my rating from a 3 to 4 star rating. PHP MySQL in easy steps, 2nd editionupdated to cover MySQL 8.0 It's just the basics, enough to get started and in depth stuff can be found for free on the web. Luckily, having experience with programming and scripting languages I could figure the bits that were missing. The arrays could do with a better introduction with a little depth, as could the POST and GET. The author appears to be someone that has just learnt PHP himself and is trying to explain what his project is doing with knowing the mechanics behind it. Ciltsiz Despite the page and the front of the book saying it was published in 2018, almost the first paragraph of the book states that the current version of PHP is PHP5 it is not. The current version is PHP7. Because of this I am returning the book. If this is not true then what else in the book is not correct?

PHP and MySQL in easy steps, 2nd edition teaches the user to write PHP server side scripts and how to make MySQL database queries. It has an easy to follow style that will appeal to: anyone who wants to begin producing data driven web pages. web developers wanting to add database interaction to their web sites. the programmer who quickly wants to add PHP and MySQL to their skills set. the hobbyist who wants to begin creating scripts for upload to their own ISP. the student, and to those seeking a career in computing, who need a fundamental understanding of server side programming with PHP and MySQL. PHP and MySQL in easy steps, 2nd edition demonstrates by example how to produce data driven web pages using the powerful PHP scripting language and the popular free MySQL database server. The book examples provide clear syntax highlighted code showing how to selectively insert and extract data from databases for presentation on your web browser. PHP and MySQL in easy steps, 2nd edition begins by explaining how to install a free web server, the PHP interpreter, and MySQL database server, to create an environment in which you can produce your very own data driven server side web pages. You will learn how to write PHP server side scripts and how to make MySQL database queries. Examples illustrate how to store and retrieve Session Data, how to provide a Message Board, and how to create an E Commerce Shopping Cart. This book assumes you have no previous experience of any programming or scripting language so is ideal for the newcomer to PHP and MySQL technologies. Covers MySQL 8.0. PHP MySQL in easy steps, 2nd editionupdated to cover MySQL 8.0

PHP

Comments