Topics

PHP

About this topic: Articles tagged __TAG__

Showing 345 articles

Topics

Articles

Showing 345 articles

How-tos How to Return to Previous Page in PHP This tutorial introduces how to return to previous page in PHP How-tos How to Export MySQL Table to Excel in PHP This tutorial introduces how to export MySQL table to Excel in PHP How-tos How to Differentiate Single and Double Quotes in PHP This tutorial differentiates the single and double quotes in PHP How-tos How to Push Both Value and Key Into PHP Array This article introduces how to push both value and key into a PHP array How-tos How to Use Foreach Loop in Multidimensional Array in PHP This tutorial introduces how to use a foreach loop in a multidimensional array in PHP. How-tos How to Check if Post Exists in PHP This article will teach you how to check if post exists in PHP with isset(), empty(), negation operator and empty string check How-tos How to Set Up a Search System With PHP and MySQL This tutorial will teach you how to set a simple search system with PHP and MySQL. You will learn how to create a MySQL database and how to use a prepared statement with the LIKE … How-tos How to Fetch MySQL Results With PDO in PHP This tutorial teaches you how to fetch results from a MySQL database with PHP PDO. You'll use PDO methods like fetchall() and fetch() and learn how to iterate over the PDO results … 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 Check if Array Contains a Value in PHP This tutorial demonstrates how to check if array contains a particular value using a built-in function 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

← All topics