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

Tags:- Django

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 7 years, 2 months ago | 2834 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, 2 months ago | 2819 views

Tags:- JQuery

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, 9 months ago | 2811 views

Tags:- PHP

PHP | Converting array of objects to array Array of objects look like this: Array ( [0] => stdClass Object ( [id] => 1 [name] => Ram [roll] => 12 ) [1] => stdClass Object ( …

Last updated 7 years, 1 month ago | 2790 views

Tags:- PHP

PHP | Variable A variable is a user define keyword which is used to store value like string, number, and array. Once a variable is defined then we can use it one or more than …

Last updated 7 years, 10 months ago | 2789 views

Tags:- PHP

Constant in PHP The define() function is used to defining a constant in PHP define("GREETING", "Welcome to StudyZone4U.com");   Constants are like variables except that once they are defined they cannot be changed or undefined …

Last updated 7 years, 2 months ago | 2763 views

Tags:- PHP

SSH | Export and Import Large Database OR Table Using SSH can be a good practice to manage the files and databases on your account. It is most important to use in the following circumstance …

Last updated 7 years, 2 months ago | 2760 views

Tags:- MySQL SSH

PHP | strip_tags() function strip_tags() function is use to remove HTML, XML, and PHP tags from string. The function provides you the ability to remove tags from strings. You can also ignore certain tags by …

Last updated 7 years, 9 months ago | 2748 views

Tags:- PHP

Codeigniter | routes  Routing rules are defined in your application/config/routes.php file.    In it, you'll see an array called $route that permits you to specify your own routing criteria. Routes can either be specified using …

Last updated 6 years, 11 months ago | 2748 views

Tags:- CodeIgniter

PHP | Web Scraping Web scraping is used to get specific data from another website when there is no API available for it. There are many techniques for web scraping. You can read more about this …

Last updated 6 years, 2 months ago | 2748 views

Tags:- PHP

The three different way in PHP to connect with MySQL is: MySQL MySQLI PDO Note: We should use MySQLI because MySQLI is imporoved version of MySQL and have more function then MySQL.

Last updated 7 years, 9 months ago | 2724 views

Tags:- MySQL

Python | Get an AWS KMS Key description in python with boto3 The describe_key() function is used to get the key description. It takes KeyArn and returns a dictionary having KeyMetadata. These are some necessary items …

Last updated 5 years, 1 month ago | 2717 views

Tags:- Python Boto3 AWS KMS

SQL | Foreign Key A foreign key is a key used to link two tables.    A Primary key of a table is used as a foreign key for the other table. The primary key …

Last updated 7 years ago | 2716 views

Tags:- SQL MySQL

PHP | Redirect PHP header() function is used to redirect a page to another page. It supplies raw HTTP headers to the browser and redirects it to another location. The redirection script should be at …

Last updated 7 years, 2 months ago | 2714 views

Tags:- PHP