Latest Posts

Prevent XSS Attacks. Escape Strings in PHP

Here’s how to prevent XSS attacks by escaping output in PHP: Here’s the code I used in the video: What Is XSS? XSS stands for cross-site scripting and it refers to a type of attack where a hacker injects malicious client-side code into the output of your page. Applications that don’t escape their output are vulnerable to this type of attack. XSS Example A simple example is a blog comment. If not properly escaped, an attacker could enter (for example) JavaScript code into the blog comment. That code would be stored in the database, output to the page when loaded,

Read More »

Coupon Code for the Build Websites From Scratch With HTML and CSS Course on Udemy

The Build Websites From Scratch With HTML and CSS course on Udemy is a step-by-step look at building websites using HTML and CSS. The course covers these topics: Building your first web page DOCTYPE Hyperlinks Images Tables Forms HTML5 Inline Styles External Styles Selectors Classes and IDs Inheritance Pixels vs ems And a bunch more You can check out my full review of the Build Websites From Scratch With HTML and CSS course here if you still have questions. Otherwise, you can use the special link below for an 73% off coupon to the course: That is an affiliate link

Read More »

The Truth About the Build Websites From Scratch With HTML and CSS Course by Brad Hussey

This is my review of Brad Hussey’s Build Websites From Scratch With HTML and CSS course on Udemy. I’m writing this review because it’s a very popular course on Udemy and a topic I know my audience is interested in… so I want to help you decide if it’s the right course for you. Here’s my review of the course: Overview The Build Websites From Scratch With HTML and CSS course is meant to be an in-depth treatment of both HTML and CSS covering topics such as: Building your first web page DOCTYPE Hyperlinks Images Tables Forms HTML5 Inline Styles External

Read More »

PHP Try Catch Error Handling

How do you PHP try catch blocks to efficiently handle errors? Here’s the answer: Here’s the code I used in the video: If you get value from this code snippet, please consider sharing it with another developer or group who could benefit from it.

Read More »

How to Create a PHP 301 Header Redirect Script

How do you implement a 301 header redirect in PHP? Here’s the answer and how to do it: Here’s the code I used in the video: If you get value from this code snippet, please consider sharing it with another developer or group who could benefit from it.

Read More »

A PHP Script to Search a MySQL Database

Here’s a tutorial video and script you can use to search a MySQL database using PHP: Get the source code as a supporting listener on Patreon. If you get value from this code snippet, please consider sharing it with another developer or group who could benefit from it.

Read More »

Coupon Code for the Complete Web Developer Course on Udemy

The Complete Web Developer Course on Udemy is as the name says a comprehensive web development course for new to intermediate developers. The course covers these topics: HTML CSS Javascript jQuery Twitter Bootstrap WordPress PHP MySQL APIs Mobile Apps You can check out my full review of the Complete Web Developer Course here if you still have questions. Otherwise, you can use the special link below for an 25% off coupon to the course: Click here for the 25% off coupon code That is an affiliate link and I will earn a small commission (at NO cost to you) when

Read More »

How to Insert Form Data Into a MySQL Database Using PHP

Why won’t my form data insert properly into my MySQL database? Here’s the most common reasons why: Get the updated source code for this video here. Not connecting to MySQL properly Not matching form fields to database columns properly Issues Connecting to MySQL When you run into connection issues, you’ll usually see an error that will say there was a problem connecting to the database. More often than not, it’s simply a typo in your database name, username, or password. Make sure to triple-check that information. Also, keep in mind if you’re using source code I’ve provide you’ll need to

Read More »

How to Validate an Email Address (By Domain) Using PHP

How can I validate an email address (by domain) using PHP? Here’s how: Here’s the class that does all the heavy lifting and an example page for including and using the class: These are the exact steps for using this: Include/require class-validate-email.php into your application or web page. Instantiate a new instance of the validate_email class. Pass the email address to the validate_email::validate_by_domain() method. If you get value from this code snippet, please consider sharing it with another developer or group who could benefit from it.

Read More »

How Important Are the oDesk Skills Tests?

Do the oDesk skills tests really matter when you consider the answers are available everywhere on the web? Thing is, the upside of getting high scores on these tests is very limited; however, the downside of NOT having them is enormous. Here’s what I mean: Do the Tests Matter? They matter in the sense that if they’re not there clients will wonder why. Imagine a client looking at 10 different freelancer profiles. Nine of them have a PHP test with a score in the top 1% and one of them doesn’t have it at all. That will stick out to

Read More »

What Are the Best Sources of Potential Freelance Jobs?

What are the best places to find quality, high-paying freelance jobs? A lot of freelancers struggle with this and frankly make mistakes in their approach. But, making a simple switch in how you go about looking for freelance jobs you can open you up to a greater array of clients. So you can get as much freelance work as you want. Here’s how: Finding Freelance Jobs I find a lot of freelancers believe in an “all-in” approach to freelancing. They either go “all-in” with freelance sites or “all-in” with getting clients from their website. They go “all-in” with Upwork or “all-in”

Read More »

How to Eradicate Annoying Scope Creep

How do you eliminate scope creep without coming across rude? I find a lot of web developers deal with this and are terrified to set boundaries with their clients. But, you can do it in a way that will actually make your clients like you MORE… not hate you forever. Here’s how: Tips for Eradicating Scope Creep I find a lot of web developers, especially newer ones, are terrified of setting boundaries with their clients because they believe no matter how they do it they’ll come across rude. Your client will get pissed, fire you and tell everyone they know what

Read More »

What Makes a Great Web Developer?

What makes a web developer great? I think most people think about this the wrong way and get too focused on technical skills. Here’s my reasoning: What Most Web Developers Get Wrong The standard advice is that a great web developer is defined by how technically skilled he is. Ask most seasoned developers this question and you’ll get responses like: “Deep knowledge of HTML and CSS” “Excellent debugger” “Knows PHP like the back of his hand” And, so on. But, to me, those things aren’t what make a great web developer. Certainly, your technical skill is important… but that is

Read More »

How to Learn HTML, CSS and jQuery Fast

What’s the fastest way to learn HTML, CSS and jQuery? This video gives you some simple instructions for self-learning, in general… AND a step-by-step resource list for learning HTML, CSS and jQuery specifically: Tips for Learning ANYTHING Faster First, a few tips for self-learning, in general, to speed up the process: 1. Build REAL Things If you just take courses or tutorials and don’t build anything with them, you’ll lose a lot of what you’re learning, you’ll have to go back and re-learn things and it’ll take you longer. When you build real applications as you learn… the learning sticks,

Read More »

STOP Pointing Out All Your Flaws!

If you’re selling yourself this way to potential clients or employers… THIS is why you’re having problems. Watch this clip, then check the full episode on YouTube. STOP Pointing Out All Your Flaws If you're selling yourself this way to potential clients or employers… THIS is why you're having problems. Watch this clip, then check out the whole episode in the comments. #freelance #webdesign #webdev Posted by John Morris on Wednesday, April 15, 2015 Watch the full episode on YouTube

Read More »

What WordPress Theme Should Developers Use?

I used the wrong WordPress theme for about 3 years and it made my life miserable. Finally, I switched it up and have never looked back. Here’s what I learned. Watch this, then check the full episode on YouTube. What WordPress Theme Should Developers Use? I used the wrong WordPress theme for about 3 years and it made my life miserable. Finally, I switched it up and have never looked back. Here's what I learned. Watch this, then check the full episode in the comments. #wordpress Posted by John Morris on Tuesday, April 14, 2015 Watch the full episode on

Read More »

What Elance and oDesk Won’t Tell You About Freelancing on Their Sites

Have you experienced this too? I know the company line, but this seems to be more of the reality they don’t want to talk about. Watch this video then check out the whole episode on YouTube. What Elance and oDesk Won't Tell You About Freelancing on Thei… Have you experienced this too? I know the company line, but this seems to be more of the reality they don't want to talk about. Link to the whole episode in the comments: Posted by John Morris on Monday, April 13, 2015 Watch the full episode on YouTube

Read More »

Need help with MySQL?

I’ll keep this short this week because my wife is out of town again so it’s just me and this guy hanging out all weekend: Plus I’m recording a bunch of new tutorials for you.  Do you need a little help with MySQL? If so, check out this new course I just uploaded. It won’t cost you anything and it covers all the key concepts: Prepared statements MySQLi PDO Data modeling Object modeling Creating a database class ezSQL And a few other things. I’ve received a lot of great feedback on it so far… so it’s worth checking out if

Read More »

The simple secrets to high-paying freelance clients

What makes clients willing to pay $5,000, $10,000 even $20,000 and up for your services? Download and install my mobile app and I’ll show you. It’s free. Just click the button below:

Clients Like:

Inc. Magazine Logo
Lewis Howes Logo
Ray Edwards Logo

WHAT OTHERS ARE SAYING

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!

Chris Aitken

He significantly improved my site through his expert knowledge of PHP, CSS and Javascript. Would definitely recommend John to others.

Steve Dimmick

Steve Dimmick

John has provided expert knowledge and advice on multiple occasions that have helped me better serve my clients. John is a Rockstar!

Xan Barksdale

Xan Barksdale

Very professional worker who is extremely knowledgable in WordPress and Wishlist Member. I would definitely hire again.

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Jim DeJonge

Jim DeJonge

John has a relaxed and engaging manner. His advice is solid and the explanations are well thought out.

Lewis Howes

John is amazing at building membership sites. He converted one of my sites over from it’s existing (hardly working) platform over to the clean and simple to use WishList membership platform. I highly recommend using John and WishList for any of your membership site needs.

Lori Grant

John did an outstanding job on my project. I highly recommend him and look forward to working with him on future projects.

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Jason Rumley

Jason Rumley

John has a habit of over-delivering on the expectations he sets up. That’s why he’s the best.

Bradley Smith

John and I have worked together on numerous projects. John is very quick and efficient and was a pleasure to work with.

Michael Skye

Michael Skye

John is a man of integrity, who gives generously of himself to projects and people he cares about.

Aaron Gott

Aaron Gott

John has a particular knack for the development and training of others.