PHP tutorials

145 tutorials. Forms, arrays, files and validation, explained step by step.

All PHP tutorials

Page 6 of 8
How to pass PHP variable to JavaScript Learn how to pass PHP variables and data to your JavaScript code The array_diff() function in PHP Learn how the array_diff() function works in PHP The array_keys() function in PHP Learn how the array_keys() function works in PHP The array_values() function in PHP Learn how the array_values() function works in PHP PHP how to check variable if not empty Learn how to check the value of your PHP variable if it's not empty How to fix PHP deprecated methods with same name as constructors Learn how to refactor your class constructors for future versions of PHP addslashes() - add a backslash to PHP string special characters Learn how to use the addslashes() function in PHP How to resolve PHP warning Illegal string offset Learn why you get the PHP warning Illegal string offset and how to solve it PHP get the minimum number in an array Learn how to get the lowest number in an array in PHP array_shift() function in PHP Learn how the array_shift() function works in PHP Remove HTML tags from data in PHP Learn how to remove HTML tags from data in PHP PHP is_string() function Check if a value is a string type or not using PHP is_string() PHP how to get the type of a variable Get the type of a variable in PHP with gettype() function PHP string replace space with dash Learn how to replace space with dash in PHP string PHP strtolower() function for lowercase string How to use strtolower() to create a lowercase PHP string Is there any differences between PHP die() and exit()? Here you will learn the differences between PHP die() and exit() How to declare global variables in PHP Learn how you can make use of global variables in PHP PHP max_input_vars configuration explained Learn how to change the max_input_vars configuration in PHP PHP number format with number_format() function Learn how to format numbers in PHP using number_format() function How to modify PHP memory limit Learn how you can adjust the maximum PHP memory limit usage