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 6 years, 4 months ago | 2832 views

Tags:- PHP PHP-MySQL

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, 1 month ago | 2778 views

Tags:- PHP

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 7 years, 1 month ago | 2744 views

Tags:- PHP

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 7 years, 1 month ago | 2702 views

Tags:- HTML

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 6 years, 5 months ago | 2695 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 7 years, 2 months ago | 2668 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 7 years, 1 month ago | 2662 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 6 years, 6 months ago | 2645 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 7 years, 3 months ago | 2632 views

Tags:- PHP

Django | Overriding the save method The save method is inherited from models.Model class. It is used to override the save method before storing the data in the database. This is used when there is …

Last updated 4 years, 9 months ago | 2628 views

Tags:- Django

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 6 years, 6 months ago | 2627 views

Tags:- PHP

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 6 years, 5 months ago | 2615 views

Tags:- SQL MySQL

PHP | Output of the following statements var_dump(0123 == 123); var_dump('0123' == 123); var_dump('0123' === 123   var_dump(0123 == 123) This will output bool(false) because the leading 0 in 0123 tells the PHP interpreter to treat the …

Last updated 6 years, 1 month ago | 2588 views

Tags:- PHP

PHP | isset() The isset () function is used to check whether a variable is set or not. It returns true if a variable is set otherwise it returns false.   <?php $var = "StudyZone4U.com"; …

Last updated 6 years, 6 months ago | 2575 views

Tags:- PHP

PHP | Comments A comment in PHP code is a line that is not executed as a part of the program. It's only read by someone who is looking at the code. By reading the comments …

Last updated 6 years, 1 month ago | 2557 views

Tags:- PHP