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
Generate QR code in php using google api
QR code (Quick Response Code) is the trademark for a type of matrix barcode. A QR code is a machine-readable code consisting of an array of black and white squares.
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
Find the location of an Item in multidimensional array
Finding position of an element in a multi-dimensional array