Tag: php

Object-oriented programming in PHP

This just can get confusing as hell, sometimes. I kinda just shake my head at the “Intro to OOP” tutorials that spend the whole time talking about “polymorphism” and “encapsulation”. It’s no wonder a lot

Read article »

PHP usage statistics are bunk

Blah, blah… traffic… something, something. I guess that’s the strategy. When usage statistics don’t show that PHP “is like totally dying and stuff”, then we jump to whatever other statistic that fits our narrative. Anyway,

Read article »

PHP isn’t used by REAL websites

I’ve been getting these comments more and more lately: “…let’s just consider that 80% figure, in those stats all websites count the same, so 1 WordPress blog that has not updated in 10 years and

Read article »

Fake PHP jobs

So, from yesterday… There’s obviously lots of PHP jobs posted out there. But, Leon asked this in response to that video: “How many companies lie about their intentions to hire, to create a false shortage,

Read article »

Why Are Developers Still Learning PHP?

Better question: “Why are people still asking why are people still learning PHP?” Sigh. This Quoran gave one of the better answers I’ve seen. Plus how you’ll know if #PHP does ever legit die. You can listen to the discussion here: https://www.johnmorrisshow.com/332/ #webdev

Read article »

Output the last row inserted in MySQLi

MySQLi makes grabbing the last inserted row easy. After running your insert query, you can do this: $id = $mysqli->insert_id; Then, you can query for that row like this: $result = $mysqli->query(“SELECT * FROM table_name

Read article »

Connecting to MySQL with PDO

With MySQLi, it looks like this: $mysqli = new mysqli($db_host, $db_user, $db_pass, $db_name); But, PDO is a bit different because it can interact 12 different types of databases: Oracle, PostgreSQL, SQLite, MySQL, Cubrid and several

Read article »

Simple input filtering in PHP

Here’s one I don’t see talked about much: $name = filter_input(INPUT_POST, ‘name’, FILTER_SANITIZE_STRING); What this does is grab the “name” element from your POST array and run it through the the filter: FILTER_SANITIZE_STRING… which removes

Read article »

Why I don’t use PHP frameworks

“They all suck!” That’s straight from the horse’s mouth. Rasmus Lerdorf, the creator of PHP. He went on to say: “While they all suck. Everyone needs a framework. What everyone doesn’t need is a general

Read article »

Is PHP Dead?

Critics have been saying PHP was dead for years now. But, here it is… still tickin’ away… picking up market share and powering the web. Matter of fact, one of the harshest criticisms I’ve seen

Read article »

PHP cURL Tutorial and Example

A simple PHP cURL tutorial and example. Learn how to use curl_init, curl_setopt, and curl_execute. Also learn how to POST data to a remote URL using cURL. Ready to learn even more PHP? Take my

Read article »

Should You Learn PHP or Python? What About Django?

[smart_track_player url=”https://soundcloud.com/johnmorrisonline/jms106-should-you-learn-php-or-python-or-django” social=”true” social_twitter=”true” social_facebook=”true” social_gplus=”true” ] Subscribe to the Podcast [saf] Those of you who’ve been around a bit know I used to be an Al Bundy. Yes… I will come clean. I used

Read article »

The EXACT PHP Skills You Need to Learn to Get Paid to Code

[smart_track_player url=”https://soundcloud.com/johnmorrisonline/jms104-the-exact-php-skills-you-need-to-learn-to-get-paid-to-code” social=”true” social_twitter=”true” social_facebook=”true” social_gplus=”true” ] Subscribe to the Podcast [saf] I chuckled a bit when I read it. You might have seen me ask this question. And I do it because I really

Read article »

A Fry Cook’s Secret to Changing Your Life With PHP

[smart_track_player url=”https://soundcloud.com/johnmorrisonline/jms103-a-fry-cooks-secret-to-changing-your-life-with-php” social=”true” social_twitter=”true” social_facebook=”true” social_gplus=”true” ] Subscribe to the Podcast [saf] Not that long I was a fry cook at a local pizza joint. I clocked into work each day, in my ill-fitting uniform,

Read article »

Join 7,700 Other Freelancers Who've Built Thriving Freelance Businesses

Over 7,700 other freelancers have started thriving freelance businesses using the information on this blog. Are you next? Subscribe below to get notified whenever a new article is posted and create your own success story:

Success Stories

Ready to add your name here?

Tim Covello

Tim Covello

75 SEO and website clients now. My income went from sub zero to over 6K just last month. Tracking 10K for next month. Seriously, you changed my life.

Michael Phoenix

Michael Phoenix

By the way, just hit 95K for the year. I can’t thank you enough for everything you’ve taught me. You’ve changed my life. Thank you!

Stephanie Korski

Stephanie Korski

I started this 3 days ago, following John’s suggestions, and I gained the Upwork Rising Talent badge in less than 2 days. I have a call with my first potential client tomorrow. Thanks, John!

Jithin Veedu

Jithin Veedu

John is the man! I followed his steps and I am flooded with interviews in a week. I got into two Talent clouds. The very next day, I got an invitation from the talent specialists from Upwork and a lot more. I wanna shout out, he is the best in this. Thanks John for helping me out!

Divyendra Singh Jadoun

Divyendra Singh Jadoun

After viewing John’s course, I made an Upwork account and it got approved the same day. Amazingly, I got my first job the very same day, I couldn’t believe it, I thought maybe I got it by coincidence. Anyways I completed the job and received my first earnings. Then, after two days, I got another job and within a week I got 3 jobs and completed them successfully. All the things he says seem to be minute but have a very great impact on your freelancing career.

Sarah Mui

Sarah Mui

I’ve been in an existential crisis for the last week about what the heck I’m doing as a business owner. Even though I’ve been a business for about a year, I’m constantly trying to think of how to prune and refine services. This was very personable and enjoyable to watch. Usually, business courses like this are dry and hard to get through…. repeating the same things over and over again. This was a breath of fresh air. THANK YOU.

Waqas Abdul Majeed

Waqas Abdul Majeed

I’ve definitely learnt so much in 2.5 hours than I’d learn watching different videos online on Youtube and reading tons of articles on the web. John has a natural way of teaching, where he is passionately diving in the topics and he makes it very easy to grasp — someone who wants you to really start running your business well by learning about the right tools and implement them in your online business. I will definitely share with many of the people I know who have been struggling for so long, I did find my answers and I’m sure will do too.

Scott Plude

Scott Plude

I have been following John Morris for several years now. His instruction ranges from beginner to advanced, to CEO-level guidance. I have referred friends and clients to John, and have encouraged my own daughter to pay attention to what he says. All of his teachings create wealth for me (and happiness for my clients!) I can’t speak highly enough about John, his name is well known in my home.

Sukh Plaha

John is a fantastic and patient tutor, who is not just able to share knowledge and communicate it very effectively – but able to support one in applying it. However, I believe that John has a very rare ability to go further than just imparting knowledge and showing one how to apply it. He is able to innately provoke one’s curiosity when explaining and demonstrating concepts, to the extent that one can explore and unravel their own learning journey. Thanks very much John!

Mohamed Misrab

Misrab Mohamed

John has been the most important person in my freelance career ever since I started. Without him, I would have taken 10 or 20 years more to reach the position I am at now (Level 2 seller on Fiverr and Top Rated on Upwork).

Join 7,700 Other Freelancers Who've Built Thriving Freelance Businesses

Over 7,700 other freelancers have started thriving freelance businesses using the information on this blog. Are you next? Subscribe below to get notified whenever a new article is posted and create your own success story: