Topics
PHP
About this topic: Articles tagged __TAG__
Showing 345 articlesRelated tags
Topics
Articles
Showing 345 articles
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 Write Multi-Line Strings in PHP
This article introduces how to write multi-line strings in PHP. It includes an escape sequence and concatenation assignment operator.
↗
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 Remove Duplicate Values From an Array in PHP
This article introduces how to remove duplicate values from an array in PHP. It includes array_unique() 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 Redirect in PHP
This tutorial demonstrates how to redirect a user from a page to a different page in PHP
↗
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 Get User IP Address in PHP
This tutorial demonstrates how to get the user's IP address 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
↗
How-tos
How to Add Line Break in PHP
This tutorial demonstrates how to add a line beak within echo in PHP
↗
How-tos
How to Write Array to a File in PHP
This tutorial demonstrates how to write arrays to a file in PHP
↗
How-tos
How to Send POST Request in PHP
This tutorial demonstrates how to send POST Request with PHP
↗
How-tos
How to Refresh a Page in PHP
This tutorial demonstrates how to refresh a page periodically in PHP
↗
How-tos
How to Prevent SQL Injection in PHP
This tutorial demonstrates how to prevent SQL injection in PHP
↗
No articles found
Try clearing the filters.