Quick Reach 1 What is PHP foreach loop? 1.1 The foreach loop structure 2 The foreach with an array 2.1 A foreach PHP example with a numeric array 3 A foreach example with associative array 4 How to print PHP array with echo and print 5 Related What is PHP foreach […]
4 examples to learn PHP array in 30 minutes
Quick Reach 1 What is an array 2 Why using PHP Array 3 An Array PHP Example 4 How to Create or define a new Array in PHP 5 How to print an array 5.1 An array example with foreach loop 6 Types of arrays 7 Related What is an […]
PHP array push function with an example
Quick Reach 1 PHP Array Push function 1.1 Syntax of array push 2 An example of array push 3 Related PHP Array Push function The array push function, as the name shows, pushes one or more elements at the end of an array. Syntax of array push This is how you […]
PHP timezone | 6 examples with different identifiers
Quick Reach 1 The timezone in PHP 2 PHP timezone identifier Example 2.1 Timezone for daylight saving time example 3 Example of returning difference to GMT hours 4 PHP timezone abbreviation example 5 Related The timezone in PHP The PHP date() function can be used to identify the timezone parameters. The […]
PHP Get and Post | Ways to use $_GET and $_POST for forms data
Quick Reach 1 Introduction to PHP GET and POST 2 The Get method 2.1 GET method example 2.2 Where to use the GET method 3 PHP Post method 3.1 POST method Example 3.2 Where to use the POST method 4 Related Introduction to PHP GET and POST We see a […]
How to use PHP Case | PHP switch select case with syntax and examples
Quick Reach 1 Introduction: 1.1 Syntax: 2 Switch Statement – Default case Introduction: Switch / case is a type of decision making in php. Use Switch / case statement option when you have many options and have to execute one of those. This is helpful where you have to use […]
PHP strpos: 2 examples of PHP String Contains the search term?
Quick Reach 1 What is PHP strpos() function? 1.1 How to use the strpos function? 2 An example of strpos function 3 Example of stripos() function 4 Related What is PHP strpos() function? You may need to search the strings in PHP whether it contains a specific word or search term and […]
PHP send email | How to use PHP mail function and validate email
Quick Reach 1 Introduction to mail function in PHP 1.1 Systax of PHP mail function() 2 A working example of sending simple text email 3 Send HTML email using mail function 4 Validating an email address 5 Related Introduction to mail function in PHP Often we see web sites having […]
PHP file upload by using $_FILES array
Skip to content Tutorials Java Tutorial Python C# Tutorial SQL Tutorial How to start a blog Tutorials Collection Menu PHP HTML CSS Tutorial MySQL JavaScript jQuery Tutorial Bootstrap Tutorial How to make a Website Contact PHP file upload by using $_FILES array In This Tutorial 1 Uploading files by using […]
PHP Tutorial – Learn PHP for beginners and advanced level
Quick Reach 1 What is PHP? 2 Video: A Short Introduction to PHP 3 Audience of this tutorial 4 Requirements for PHP Tutorial 5 Topics in this Tutorial 6 Related What is PHP? The PHP: Hypertext Preprocessor (PHP) is known as a programming language that enables web developers creating dynamic […]