php

PHP is one of the most popular server-side scripting and HTML embedded languages which is designed primarily for web development but also used as a general-purpose programming language.

Call by reference in php with example
php

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
php

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
php

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
php

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
php

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

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