Define a PHP Variable

PHP variable’s name begins with a $ sign, followed by a name- and that name must start with a letter or an underscore, not a number.PHP can also store all types of data in variables which makes things a lot easier. (Don’t have to create different types to store data, … Read more

Comments in PHP Code

A comment is using to note a short description about the working flow of the program or hide some unwanted code for special purposes . Commented code couldn’t execute or do anything in the part of the program.
we can use // for a single-line comment or /* and */ … Read more

String Functions in PHP

PHP have some inbuilt powerful string handling and manipulating functions. PHP string function are

addcslashes
To add backslashes , in front of the specified characters
addslashes
To add backslashes , in front of the predefined characters
bin2hex
Convert binary data into hexadecimal representation
chop
Alias of rtrim
chr
Return a
Read more