PHP | Remove html tags from a string The strip_tags() function is use to remove any HTML, XML, and PHP tags from a string.   <?php echo strip_tags("Hello <b><i>world!</i></b>","<b>"); // Output will be Hello world! …

Last updated 7 years, 5 months ago | 3254 views

Tags:- PHP

Predefined classes in PHP are: Directory stdClass __PHP_Incomplete_Class exception php_user_filter

Last updated 7 years, 12 months ago | 3224 views

Tags:- PHP

SQL | IN operator with PHP Array In this article we will use PHP Array with SQL IN operator. SQL IN operator allows us to specify multiple values in where clause. So in this article …

Last updated 7 years, 3 months ago | 3217 views

Tags:- PHP PHP-MySQL

header() function The header() function in php is use to sends a raw HTTP header to a client. With the help of header() function we can Change page location, set timezone, set caching control, etc. …

Last updated 8 years ago | 3177 views

Tags:- PHP

PHP | Unlink() function The unlink() function is an inbuilt function in PHP that is used to delete the file from a directory. If the file function executes successfully and deletes the file then it …

Last updated 7 years, 12 months ago | 3165 views

Tags:- PHP

PHP | What is php? PHP is a popular server site scripting langage stands for "PHP: Hypertext Preprocessor".  It is an open source scripting language, hence it is free to download and use. We can …

Last updated 8 years, 1 month ago | 3096 views

Tags:- PHP

Error type in php There are three main error type in php Notice Error Warning Error Fatal Error   Notice Error It is a simple and non critical error which is occur during script execution. …

Last updated 8 years ago | 3078 views

Tags:- PHP

PHP | Convert Object To  Array Converting an object to an array is a small thing that can be achieved by a single line of code. For this purpose, we need to use typecasting. Typecasting …

Last updated 7 years, 4 months ago | 3048 views

Tags:- PHP

PHP | Recursion  PHP also supports recursive function call like C/C++. In such a case, a function calls itself within the function.   Note: Recursion must be incorporated carefully since it can lead to an …

Last updated 7 years, 5 months ago | 3041 views

Tags:- PHP

HTML | What is HTML HTML is a web language that stands for HyperText Markup Language. It was created by Berners-Lee in late 1991. HTML is the standard markup language for creating web pages that …

Last updated 7 years, 2 months ago | 3011 views

Tags:- HTML

HTML | <hr> tag By using html <hr> tag, some time we need to style <tr> tag as per page or design requirement. For styling <hr> tag we can use htrml <hr> tag attribute or …

Last updated 8 years ago | 3008 views

Tags:- HTML

The explode() and split() both function is use to split a string into an array. But the difference is explode() function splits a string into array by string where as Split function splits string into …

Last updated 7 years, 5 months ago | 2994 views

Tags:- PHP

$_SERVER['REMOTE_ADDR'] id use to get the IP address of the user.   But sometime it may not return the true IP address of the client at all time. Use Below code to get true IP …

Last updated 8 years ago | 2993 views

Tags:- PHP

jQuery:  jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude …

Last updated 7 years, 5 months ago | 2979 views

Tags:- JQuery

SQL | View View in SQL is a kind of virtual table. It does not physical exists in our database but have rows and column as there we have in a real database table. we …

Last updated 7 years, 3 months ago | 2979 views

Tags:- SQL MySQL