PHP Tutorials

Learn PHP Hypertext Preprocessor (PHP) in a most efficient manner with the help of most detailed tutorials. You will be able to create dynamic and interactive websites after going through these articles and code snippets.

How do I check if a string contains a specific word?

Written By: Nohman Habib   |   No Comments   |   Posted On: June 28, 2023
In PHP, a string is a sequence of characters enclosed within single quotes (”) or double quotes (“”). Strings are one of the fundamental data types in PHP and play a significant role in various aspects of programming. They are…

Uploading and Storing Image File in Database using PHP and MySQL

Written By: Nohman Habib   |   No Comments   |   Posted On: March 28, 2023
Server-side file upload can be easily accomplished using PHP. There are many ways to upload images to a server and display them on a webpage. In a dynamic web application, uploaded images are typically stored in a directory on the…

Creating Pagination with PHP and MySql

Written By: Nohman Habib   |   No Comments   |   Posted On: July 31, 2022
We’ll use PHP and MySQL to build pagination in this tutorial. Perhaps thousands or even millions of records could be returned by your SQL query. And it’s not a smart idea to have all of those results on one page.…

NOW() function in PHP

Written By: Nohman Habib   |   No Comments   |   Posted On: May 9, 2022
The NOW() function is a MySQL function that returns the current date and time. To obtain the current date and time in a similar format in PHP, you can use the date function with the ‘Y-m-d H:i:s’ format string. time()…

How to Create a Magento Module

Written By: Nohman Habib   |   No Comments   |   Posted On: May 12, 2021
Magento is one of the most powerful eStore or ecommerce web applications, which empowers hundreds of thousands of shopping sites on the internet. And the primary reason for that is the availability of community extensions or modules. The community extensions…

Exception Handling in PHP

Written By: Nohman Habib   |   No Comments   |   Posted On: April 16, 2021
To be honest, we should incorporate error checking and management logic into our scripts to defend our website and ensure the scripts are running properly. Validating data before using it is one of the simplest ways to avoid errors from…

File System Management

Written By: Nohman Habib   |   No Comments   |   Posted On: April 11, 2021
PHP gives you an awesome bargain of tools for opening, creating, uploading, and editing files. At the time you are controlling files, you must be extremely watchful on the grounds that you can do a considerable measure of harm if…

Some Important Array Functions

Written By: Nohman Habib   |   No Comments   |   Posted On: March 8, 2021
The following table shows some of the more common array manipulation functions.
Useful Array FunctionsFunction Explanationsort() Sorts an array alphabetically. Elements will be assigned to new index numbers.asort() Sorts associative arrays alphabetically by value. The index association

Some Important String Functions

Written By: Nohman Habib   |   No Comments   |   Posted On:
In this lesson, you will learn how to format strings and work with functions to manipulate them. You will also learn the benefits and dangers of magic quotes. String Manipulation FunctionsTrimming StringsFunction Descriptiontrim() Removes whitespace at beginning…

What are PHP bad coding practices?

Written By: Nohman Habib   |   No Comments   |   Posted On: October 29, 2020
In the midst of this barrage of poor coding, there is a small but consistent push towards “good practice” in coding. The code needs to comply with a few fundamental requirements to be called “good”-it should be easy to read,

ABOUT CODINGACE

My name is Nohman Habib and I am a web developer with over 10 years of experience, programming in Joomla, Wordpress, WHMCS, vTiger and Hybrid Apps. My plan to start codingace.com is to share my experience and expertise with others. Here my basic area of focus is to post tutorials primarily on Joomla development, HTML5, CSS3 and PHP.

Nohman Habib

CEO: codingace.com

Request a Quote









PHP Code Snippets Powered By : XYZScripts.com