Topics
PHP
About this topic: Articles tagged __TAG__
Showing 345 articlesRelated tags
Topics
Articles
Showing 345 articles
How-tos
How to Get the Errors to Display in PHP
This article introduces how to get the errors to display in PHP. It includes ini_set() function and error_reporting() function.
↗
How-tos
How to Change Font Size and Color in PHP
Discover practical techniques for integrating PHP with CSS to dynamically style web content, including changing font size and color, using inline styles, separate PHP files, and …
↗
How-tos
How to Convert an Array to an Object in PHP
This article introduces how to convert an array to an object in PHP. It includes type casting, json_decode() function and json_encode() function.
↗
How-tos
How to Check Whether an Array Is Empty in PHP
This article introduces how to check whether an array is empty in PHP. It includes empty() function, sizeof() function, count() function and NOT operator.
↗
How-tos
How to Get Parameters From a URL String in PHP
This article introduces how to get parameters from a url string in PHP. It includes parse_url() function, parse_str() function and $_GET variable.
↗
How-tos
How to Read a Large File Line by Line in PHP
This article introduces how to read a large file line by line in PHP. It includes fgets() function, file() function and stream_get_line() function.
↗
How-tos
How to Loop Through an Array in PHP
This article introduces how to loop through an array in PHP. It includes foreach loop and for loop.
↗
How-tos
How to Sort an Array of Associative Arrays by Value of a Given Key in PHP
This article introduces how to sort an array of associative arrays by value of a given key in PHP. It includes array_multisort() function and usort() function.
↗
How-tos
How to Get a File Extension in PHP
This article introduces how to get file extension in PHP. It includes pathinfo() function and SplFileInfo() construct.
↗
How-tos
How to Extract Data From JSON in PHP
This article introduces how to extract data from JSON in PHP. It includes json_decode() function.
↗
How-tos
How to Check if a String Contains a Substring in PHP
This article introduces how to check if a string contains a substring in PHP.
↗
How-tos
How to Add Elements to an Array in PHP
This article introduces how to add elements to an array in PHP. It includes the array_push() function and the Direct Assignment Method.
↗
How-tos
How to Reset Array in PHP
This article introduces how to reset an array in PHP. It includes unset() function and array_diff() function.
↗
How-tos
How to Perform Array Delete by Value Not Key in PHP
This article introduces how to perform array delete by value not key in PHP. It includes array_search() function, unset() function and array_diff() function.
↗
How-tos
How to Concatenate Strings in PHP
This article introduces how to d string concatenation in PHP. It includes the concatenation operator, concatenation assignment operator, and the sprintf() function.
↗
How-tos
How to Initialize Empty Array in PHP
This article introduces how to initialize an empty array in PHP. It includes square brackets and array() function.
↗
How-tos
How to Format Phone Numbers in PHP
This article introduces how to format phone numbers in PHP. It includes preg_match() function and sprintf() function.
↗
How-tos
How to Convert String to Float in PHP
This article introduces how to convert string to float in PHP. It includes type casting, floatval() function, and number_format() function.
↗
How-tos
How to Convert XML to JSON in PHP
This article introduces how to convert xml to json in PHP. It includes simplexml_load_string() function and json_encode() function.
↗
How-tos
How to Generate Random String in PHP
This tutorial demonstrates randomly generation of string in PHP
↗
How-tos
How to Remove Special Character in PHP
This tutorial shows the removal of special character from string in PHP
↗
How-tos
How to Read if Checkbox Is Checked in PHP
This tutorial demonstrates how to read if a checkbox is checked in PHP
↗
How-tos
How to Show All Errors in PHP
This tutorial demonstrates how to display errors and warnings in PHP
↗
How-tos
How to Count Rows in MySQL PHP
This tutorial demonstrates how to count the total number of rows of mysql table in PHP
↗
No articles found
Try clearing the filters.