Find the Largest Number in an Array using php
Example for getting largest number in an array
Call by reference in php with example
Let's understand the concept of call by reference by the help of examples. variable $str is passed to the adder function where it is concatenated with 'Call By Reference' string.
Switch statement in php
Switch statement is used to execute one statement from multiple conditions in PHP. It works like PHP if-else-if statement. But it's better that if-else-if statement.
How to secure input in php
Sanitizing data means Remove any illegal character from the data. In php you need to impliment this one for secure input for MySQL.
Getting checkbox values on submit in PHP
If you have multiple options, then you want to get the checked values to store them in variable on form submit, Then you can use this technique. A good method which is a favorite of mine and for many developers
Functions in PHP
PHP function is a piece of code that can be reused many times. PHP functions are similar to other programming languages. More than thousands pr-define functions are available in PHP. There are many advantage of PHP Functions like Code Reusability, Easy to