Category: PHP Tutorials
Learn PHP for website development.
PHP strrev() string function
The strrev() function in PHP The strrev() function used to returns a reverses character of given string. strrev() function syntax strrev(“string”); PHP strrev() function example…
PHP str_word_count() string function
The str_word_count() function in PHP The php str_word_count() sting function is used to count a number of words in a string. str_word_count() function syntax str_word_count(“string”);…
PHP substr() string function
The substr() function in PHP The substr() function used to returns some portion of given string by assign start and length values. substr() function syntax…
PHP strlen() string function
The PHP strlen() function returns the string length, means count of character string contain. Here we take an example of count character of given string…
PHP string functions
In previous php tutorial we learnt what is function and how to use function in php. In this php tutorial we will learn some in-built…
$_GET, $_POST and $_REQUEST function in PHP
$_GET, $_POST and $_REQUEST in PHP In this php tutorial we will learn how to handle form in php. In other word we can say…
HTML Action attribute and PHP
Form ACTION attribute with PHP In php when we submit the form the form where should be sent it depend on Action attribute. The Action…
PHP GET and POST Methods
The GET and POST Methods The html METHOD attribute used to send information to web server in different way. The ways are GET method and POST…
PHP with HTML Forms
PHP with HTML Form In this php tutorial we will learn how to write php server side code with html form to create a web…
Function in PHP
PHP Functions PHP function is group of code which execute as per our requirement. PHP function is a code which get some value process it…
Constant in PHP
PHP Constant PHP constant is same as variable but we never change constant value during the execution of program. We can use constant only when…
PHP foreach loop
PHP foreach loop In foreach loop used in on array. In foreach loop each element of array is assigned to $value and we can use…