• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

WPbasics - A beginner's resource for WordPress

  • Blog
    • Tutorials
    • Articles
    • Showcase
    • Themes
    • Plugins
  • Recommended Hosts
  • About
  • Contact Us
Learn PHP in 15 minutes

Learn PHP in 15 Minutes

Last updated on January 6, 2023 Leave a Comment

Learn PHP in 15 minutes by following the introductory tutorial.

This tutorial is intended to as an introduction to PHP. We will cover the basics of PHP by covering the following;

  • Installing Laragon or XAMPP
  • PHP file
  • Outputting strings
  • Variables
  • Concatenation
  • Operators
  • If statements
  • Handling data from HTML forms
  • Arrays
  • Loops

The video below has been prepared to provide an introduction to learn php in 15 minutes. I hope that you find it useful and have some fun trying out the examples.

First, we need to install some software in order to run PHP on your computer.  If you already have a web server with PHP, you can use that.  However, I would recommend that you go with a local site for learning as it will have a faster response time and you won’t have to worry about making any mistakes.

A common program for web developers is XAMPP.  You can download the program for free from https://www.apachefriends.org/

If you chose to use XAMPP I have a tutorial on how to set up a local host with XAMPP on this YouTube channel.  You can find the tutorial at this XAMPP tutorial

For this tutorial, I will be using Laragon as it is super easy to use, especially if you are a beginner.

You can download Laragon at https://laragon.org/download/

Have fun and let me know if you have any comments.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Search this site

Popular Posts

  • How to copy a live WordPress site to a local host | Duplicator
  • How to add a jQuery UI Accordion to WordPress
  • How to copy a live WordPress site to a localhost
  • How to Use FileZilla | FTP Client
  • How to Create a Localhost with local by Flywheel

Recent Posts

  • Learn PHP in 15 Minutes
  • How to Install a MailChimp Popup in WordPress
  • Googles reCaptcha slow mobile site
  • Check if your site is indexed by Search Engines
  • ACF Blocks | Gutenberg
SEE MORE POSTS

Footer

Site Links

  • Affiliate Disclosure

Contact

  • Email
  • Twitter
  • Facebook

About WPbasics

WPbasics was created to assist WordPress Beginners. This site provides tutorial, reviews, and access to deals on products used by WordPress users.

Copyright © 2023 · WPbasics ·

Enter your name and email and get the weekly newsletter... it's FREE!
Signup today and be the first to get notified on new updates
Your information will *never* be shared or sold to a 3rd party.