In this quick article, we’ll discuss how to troubleshoot the “missing the MySQL extension” error when you are installing WordPress. If you’re installing WordPress or you’ve moved your website to a different server, you may encounter the following error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress. This… Continue reading WordPress Troubleshooting: PHP Installation is Missing the MySQL Extension
Tag: PHP
Display the Latest News on Your Site With Mediastack
What an extraordinary year 2020 has been for the news! From the ongoing coronavirus crisis, to a turbulent US election, to the unrelenting march of Bitcoin, this year like no other we’ve been glued to our phones micro-analyzing every tidbit of news. Which makes this the perfect time for mediastack, an awesome REST API that… Continue reading Display the Latest News on Your Site With Mediastack
How to Use PHP in HTML
In this article, I’ll show you how to use PHP code in your HTML pages. It’s aimed at PHP beginners who are trying to strengthen their grip on the world’s most popular server-side scripting language. Again, PHP is a server-side scripting language. That means a PHP script is executed on the server, the output is… Continue reading How to Use PHP in HTML
Create a PHP Login Form
A user login and registration system is super helpful when we want to store information about the users of our website. This applies to everything from educational websites which might store course progress and marks to e-commerce websites which will store information about customers’ past purchases. In this tutorial, I’ll teach you how to create… Continue reading Create a PHP Login Form
Working With PHP Arrays in the Right Way
In this tutorial, I am going to make a list of common PHP array functions, with examples of usage and best practices. Every PHP developer must know how to use them and how to combine array functions to make code readable and short. Also, there is a presentation with given code examples, so you can… Continue reading Working With PHP Arrays in the Right Way
Submit A Form Without Page Refresh Using jQuery
A great way to improve the user experience of your website is to validate and submit forms without a page refresh. In this tutorial I’ll show you how easy it is to do just that—validate and submit a contact form that without page refresh using jQuery! Let’s get started. What We’re Building In this example,… Continue reading Submit A Form Without Page Refresh Using jQuery
How to Implement Email Verification for New Members
Have you ever created an account with a website and been required to check your email and click a verification link sent by the company in order to activate it? Doing so highly reduces the number of spam accounts. In this lesson, we’ll learn how to do this very thing! Looking for a Shortcut? This… Continue reading How to Implement Email Verification for New Members
20 Useful Laravel Packages Available on CodeCanyon (and 5 Free)
Laravel is a web application framework that many developers say is a dream to work with. That’s because it aims to take the tedium out of routine web project tasks like authentication, routing, sessions, and caching, making the development process simple and straightforward without sacrificing application functionality. If you’re not familiar with the Laravel framework,… Continue reading 20 Useful Laravel Packages Available on CodeCanyon (and 5 Free)
How to Use AJAX in PHP and jQuery
Today, we’re going to explore the concept of AJAX with PHP and JavaScript. The AJAX technique helps you to improve your application’s user interface and enhance the overall end user experience. If want to learn JavaScript, check out our free online course on JavaScript fundamentals! FREE JavaScript Modern JavaScript Fundamentals Dan Wellman What Is AJAX? AJAX… Continue reading How to Use AJAX in PHP and jQuery
Create a Contact Form in PHP
No matter what type of website you own or manage, you probably need a contact form. The contact form can help your visitors request a quote, ask for information, or share any tips or problems they’re facing while using your website. In this tutorial, our focus will be on creating a fully functional contact form… Continue reading Create a Contact Form in PHP
PHP Namespace Tutorial: The Basics
In this tutorial, I’ll go through the basics of namespaces in PHP. I’ll explain why you might need namespaces, and I’ll show you how to use PHP namespaces in your day-to-day development. More often than not, you will end up using third-party libraries from different vendors in your PHP applications. Now, there could be collisions… Continue reading PHP Namespace Tutorial: The Basics
How to Autoload Classes With Composer in PHP
In this article, we’ll discuss the basics of autoloading in PHP and how to autoload PHP classes with Composer. I’ll explain why autoloading is so important and show you how to use Composer for autoloading step by step. I’ll also explain the difference between the different kinds of autoloading in Composer. Why Do We Need… Continue reading How to Autoload Classes With Composer in PHP
Parse XML to an Array in PHP With SimpleXML
In this post, you’ll learn how to parse XML into an array in PHP. SimpleXML is a PHP extension that makes this possible. In your day-to-day PHP development, sometimes you’ll need to deal with XML content. Whether it’s exporting data as XML documents or processing incoming XML documents in your application, it’s always handy to… Continue reading Parse XML to an Array in PHP With SimpleXML
10+ Best PHP Learning Management System Scripts
Whether you run an in-person school or an online learning platform, you need a learning management system (LMS) that will help you run your enterprise efficiently. PHP learning management systems are a great option. Classes, courses, and training are now commonly delivered and administered through learning management systems. Lessons are created and uploaded on these… Continue reading 10+ Best PHP Learning Management System Scripts
15 Useful PHP CRUD Generators and Frameworks Available on CodeCanyon
Database code is repetitive, but very important to get right. That’s where PHP CRUD generators and frameworks come in—they save you time by automatically generating all this repetitive code so you can focus on other parts of the app. On CodeCanyon you will find CRUD generators and frameworks that will help you deliver outstanding quality products… Continue reading 15 Useful PHP CRUD Generators and Frameworks Available on CodeCanyon
Grab Free SSL Certificates From ZeroSSL
Like it or not, we’re slowly edging towards a two-tier web: those sites that are secure, and…everything else. There was a time on the web, when we didn’t have SSL certificates, and lots of people’s data got stolen. To address the problem, and regain users’ trust SSL certificates were introduced to secure sites handling sensitive… Continue reading Grab Free SSL Certificates From ZeroSSL
Get Real-Time Global Market Data with the marketstack Stock API
Having access to global market data has never been more vital. With world economies in a state of flux, your users need accurate information available in real-time. Historical data is also important, as it serves as a way to compare and contrast with the present. marketstack gives you the ability to easily implement this data… Continue reading Get Real-Time Global Market Data with the marketstack Stock API
How to Check the PHP Version
Here are some quick tips on how to check the PHP version on your computer or server. There are several reasons why you want to check the version of PHP which is installed on your server. For example, you might want to install PHP-based software and to check if the software requirements match with the… Continue reading How to Check the PHP Version
How to Create, Write, Read, and Delete Files in PHP
In this tutorial, we are going to learn file handling in PHP. I’ll show you how to create, read, write, and delete files in PHP by using the built-in file handling functions. File handling is something that you will need to do very often as a PHP developer. You could use PHP file handling functions… Continue reading How to Create, Write, Read, and Delete Files in PHP
What are Breadcrumbs in WordPress?
In this tutorial I’m going to explain all you need to know to get started using breadcrumbs in WordPress. BreadCrumbs in WordPress Follow along with us over on our Envato Tuts+ YouTube channel: BreadCrumb Plugins on CodeCanyon If you’re interested in what solutions are on offer from our community of coders, check out the premium WordPress… Continue reading What are Breadcrumbs in WordPress?
Developing a WordPress Website 101: The Important Five C
Recently I’ve been given a task to build and develop a website from scratch. When I say from scratch, I meant from nothing, no hosting, no direction on what the website will be, only a concept from the client that needs to build a website with niche toward or something similar to lifestyle blog as… Continue reading Developing a WordPress Website 101: The Important Five C
How to Install PHP in Ubuntu
Today, I’m going to show you how to install PHP in the Ubuntu OS. First, I’ll show you how to install the default stable version of PHP, and then I’ll show you how you can install other versions of PHP. PHP is a server-side scripting language which is mostly used to build web applications—these may… Continue reading How to Install PHP in Ubuntu
17 Most Useful PHP Scripts (and 5 Great Free Scripts)
Whether you need to create a dating website, add a shopping cart to your eCommerce store, or launch a marketing campaign, there is a PHP script that is right for you. Add a new set of features and functionality to your website with these scripts and create a more robust platform for your customers. Today’s website… Continue reading 17 Most Useful PHP Scripts (and 5 Great Free Scripts)
What Is Composer for PHP and How to Install It
Today, we’re going to discuss one of the most important tools in PHP: the dependency manager Composer. In this article, we’ll look at the ins and outs of Composer and how to install it and use it in your day-to-day PHP development. If you’ve been coding in PHP for some time, you’ll be aware of how PHP libraries… Continue reading What Is Composer for PHP and How to Install It