A quick PHP, MySQL CRUD operation with PDO mysql driver with minimul HTML and almost no CSS. I am going to share the code for each file and operation separately. I am using XAMPP server with MariaDB, PHP 8.1, and Apache 2.4 web server on my Windows 10 Pro. I assume that you are already … Continue reading PHP, MySQL CRUD with PDO Driver – Minimal HTML & CSS →
Hello there, this post will help you understand how some of WordPress image conversion plugins work behind the scenes. This is very simple straight forward process using php image manipulation library GD, which is a default library on almost every server with PHP. GD can do a lot of things like image creation, editing, cropping, … Continue reading How to Convert PNG to WEBP with PHP →
To enable opcache in XAMPP, launch your xampp control panel, stop the apache server and open php.ini file by clicking config and going to php.ini file. Press control + f and type opcache to find the following line and uncomment it. Last and but not the least, scroll down to the very end of php.ini … Continue reading Enable opcache on XAMPP Server →
This post will help you understand how to use PHP while loop to traverse and display MySQL table data in HTML. I have two tables in my MySQL database, named categories and brands that I want to view on html/php pages using PHP while loop. I assure that you have established your MySQL database connection … Continue reading PHP While Loop in HTML →
If you are getting following error on your Windows OS then chances are that you have some php and mysql configuration issues. I was getting Uncaught Error Call to undefined function mysql_connect() on my Windows 10 and had XAMPP and PHP8 installed additionally and my additional PHP8 was set to the system’s path. Download PHP … Continue reading Fixed – uncaught error call to undefined function mysql_connect() →
This post will help you download and install PHP 8 on your Windows 7, Windows 8, and Windows 10 Desktop, Laptops, and Servers 2008 and above. I’ll show you how to download PHP 8 Thread safe 32/64 bit and install and add it to the system’s PATH and finally check php version and run the … Continue reading How to Download & Install PHP 8 on Windows 10 →
This post will help you download and install PHP 7.4.x on your Windows 10, however, your Windows OS is 8/8.1 or 7; you should not have any issues downloading and installing PHP 7.4.x and verify latest version of PHP on your Windows OS. Follow these simple steps to download and install PHP 7.4.x on your … Continue reading How to Install PHP 7.4.9 on Windows 10 →
This post will help configure php and NGINX on Windows 10 Desktop. I assume that you already have installed PHP and NGINX on your Windows system, if you have installed php and NGINX yet, you can follow my video instructions below to install PHP 7 and NGINX on Windows 10. Install PHP 7 Make sure … Continue reading Configure PHP with NGINX on Windows 10 →
If you are getting “php is not recognized as an internal or external command” from your Microsoft Windows Command Prompt on Windows 7, Windows 8, and Windows 10. Then you need to add php folder location path to the system environment variables. this post is going to show you how to add php to system … Continue reading Fixed: php is not recognized as an internal or external command – Windows 10 →
This is how I got PHP foreach loop working in HTML table. You can find the working code below. Get all the code for PHP Connect to MySQL Database, using mysqli api. PHP foreach Loop PHP foreach loop iterates through the array, associative array, MySQL table, and also lets run arithmetic operators. Download PHP 7 … Continue reading PHP foreach loop in HTML table – working →
Shopify Theme, App Expert & WooCommerce eCommerce Microdata Tags & JSON-LD Schema