Re: Which Php 7 Tutorials Do You Recommend To Complete Beginners?

spaceshiptrooper,

Thanks for the input.
What I meant was I am still to be showed a book or ebook or online tutorial or online course or video tutorial or course (apart from php.net) that teaches php 7, oop and mysqli and/or pdo.
I know tonnes of sites exist that teach php 5, oop and pdo but then I’d learn a few things deprecated and then would have to search for another site that teaches “what is new in php 7” and then learn what has been deprecated and unlearn them. Waste of time. Therefore, even though php 5 and 7 are same language with same syntax, was hoping for a tut that only taught the stuffs that are still existing in php 7 and were touching both on procedural and oop but oop most and were touching on mysqli and pdo but pdo most. That’s all. Not much to ask. Tut sites that were out before php 7 would teach php 5 deprecated stuff. Frankly, I can’t keep track of what has been deprecated and would forget the deprecated list.
Got my eyes fixed on the following but it ain’t for beginners and so might aswell learn from it when I’ve finished learning from php.net:
https://phpdelusions.net/pdo

And, like I said, php.net is more of a reference book for intermediate and advanced guys like you and not really suitable for beginners who do not know php. If it was, then third party tutorial sites and courses won’t exist who tailor their tuts for complete beginners like me.

Thanks for the procedural and oop demo though. Yeah, you are right, I don’t have experience with procedural or oop styles because these tuts sites, not that many really show examples like you did.
All I understood the difference beteen the 2 is that on procedural you write the code step by step and the interpreter translates the code to machine code line after line while in oop you write blocks of code (custom functions or whatever) and then reference it from the main script flow to those blocks of codes (calling them). A bit like you reference to headers and footers in html file so you don’t have to write the same code on every page. But I guess my understanding the difference between the 2 was flawed from the beginning. Right ?
Anyway, I’m sticking to php.net for the time being. From your experience they teach procedural to beginners. Right ? But from which point onwards they start teaching oop, do you reckon ? I haven’t visited the site lately as I got put-off from it. Didn’t want to return to it incase I get totally put-off from php altogether. But I guess I have to take a deep breath and make my mind stronger (make a strong will) and return to it. Shall I tell you what put me off from the site ? Actually, there is nothing wrong with the tut itself apart from being too brief. Because it is too brief, I started looking at other contributor’s codes who explain with their code examples what problems they encountered (trial and error, what worked and what not and how to tackle the problems, what are bad practices and what not). It is going through these codes from contributors which the official site added as their tut made my head spin and put me off as the contributors’ codes definitely weren’t suitable for beginners. Felt like being thrown in the deep end of the swimming pool. You know what I mean.
Anyway, recently been thinking, I might aswell forget going through each and every codes from contributors and just finish reading the code examples of the official site and practice the basic codes so I can memorize them as much as I can and then on the 2nd round look into the codes of the contributors. Now, you might have a question, why did I go through the codes of the contributors in the first-place ? Well, I wanted to see what problems they faced so if I face them then I can use their coding practices to get over any stumbling block. Else, I’d be stuck in the middle of the ocean in an isolated island and then quit php altogether.

Anyway, I wish myself luck.
And thanks for reading upto here and for willing and trying to help!

PS - It was my birthday yesterday. I’ll take your code examples as my birthday gift. Lol!
Feeling a bit grumpy because I really wanted to get over the errors I’m facing and finish my social network on my birthday as my birthday gift. Been working on it for 42 days now.
Wanted to complete making an SN that copies the concept of the Fan Browser (.exe). Build a web or SN (Social Network) version of the Fan Browser. (Check youtube for Fan Browser. It’s a browser that publicises to the public domain what you are browsing in your public session so the public can follow you online from website to website and webpage to webpage. You earn when your trailers/followers click links trailing you. Unlimited people from the public can follow you this instant and so your income is potentially unlimited. Marketers mostly would be dogging your fingersteps to learn what you are searching for and in the process their trailing would earn you ppc.). But because I’m a complete newbie, I’m taking shortcuts and coming across obstacles.