Topics
PHP
About this topic: Articles tagged __TAG__
Showing 345 articlesRelated tags
Topics
Articles
Showing 345 articles
How-tos
How to Encode HTML in PHP
This tutorial will teach you how to encode HTML in PHP. You will use htmlspecialchars(), htmlentities() and a custom method.
↗
How-tos
How to Move File to a Folder in PHP
This tutorial demonstrates moving a PHP file from one location to another using rename function.
↗
How-tos
How to Get Class Name in PHP
This tutorial will teach you how to get a class name in PHP. You will use get_class(), PHP class constant, and ::class in an object.
↗
How-tos
How to Format a Number to a Dollar Amount in PHP
Different methods can format a number to a dollar amount in PHP, like using number format, format currency, or a regular expression.
↗
How-tos
How to Select Count Function From a MySQL Table in PHP
The select count(*) function can count rows and get the total records returned by a query from a MySQL table in PHP.
↗
How-tos
How to Create and Get PHP Class Constants
This tutorial will teach you how to create and get class constants in PHP. You will use the const keyword, PHP access modifiers, and the final keyword. Also, you'll learn how to …
↗
How-tos
How to Filter Arrays in PHP
This tutorial will teach different methods you can use to filter arrays in PHP. The methods will use PHP built-in functions like array_intersect_key, array_filter, array_keys, and …
↗
How-tos
How to Double Question Mark in PHP
This tutorial demonstrates the uses of double question mark in PHP.
↗
How-tos
How to Loose and Strict Equality Checks in PHP
This tutorial will teach you how to perform loose and strict equality checks in PHP. You'll use PHP built-in equality signs like double equal, not equal and use the strict versions …
↗
How-tos
How to Compare Strings Using == Operator and STRCMP Function in PHP
This article shows how == operator and the strcmp function can compare strings in PHP.
↗
How-tos
Array_map and array_walk Functions in PHP
This article shows us how the array_map and array_walk functions can modify elements in an array.
↗
How-tos
How to Go Back to an Article Tag With an ID From the Action Page
This tutorial demonstrates how to go to another php page and come back to the same tag of action.
↗
How-tos
How to UPDATE Query in a MySQL Table in PHP
The PHP UPDATE query can update existing records in a MySQL table.
↗
How-tos
How to Insert Form Data Using MySQL Table in PHP
This article shows how the POST statement can send form data to table in a database.
↗
How-tos
The use Keyword in PHP
This article describes use and namespace in PHP
↗
How-tos
How to Execute Multiple MySQL Queries in PHP
This tutorial will teach you to execute multiple MySQL queries with PHP. You'll execute the queries with PHP prepared statements and multi_query, a built-in PHP function.
↗
How-tos
How to Print Array Keys in PHP
This tutorial will teach you different methods you can use to print the keys of PHP arrays. These methods will use the foreach loop and the array_keys function.
↗
How-tos
How to Merge PDFs in PHP
This tutorial demonstrates how to merge multiple pdf files using PHP.
↗
How-tos
How to Send Data in URL to View the Single Record of a Selected Product
This tutorial shows you how to dynamically send data in URL(s), retrieve the user's selected product records and make them viewable on the product.php?pid='id_value'. Learn how to …
↗
How-tos
How to Run Shell Scripts in PHP and Open Shell File
This tutorial will demonstrate how to run shell scripts in PHP. We will implement our script using PHP's shell_exe() and shell() functions.
↗
How-tos
How to Delete Cookies in PHP
This article introduces how to delete cookies in PHP
↗
How-tos
How to Use HTML Image Tag Inside PHP
In this article we'll discuss how to use HTML image tag inside PHP, store a URL in a variable and echo it directly in the source and use the str_replace() function for URL …
↗
How-tos
How to Set Environment Variable in PHP
This tutorial is an illustrated step-by-step guide that teaches you how to set the environment variable for PHP in a local development environment like WAMP.
↗
How-tos
How to Fetch Data From Database and Show the Data in the HTML Table Using PHP
We will learn the process of creating a database and table in MySQL and how to retrieve the mysql table dynamically and show it in the HTML.
↗
No articles found
Try clearing the filters.