
Search In
JavaScript Function
A function is a separate part of the program that performs a particular task. The code of the function can be reused by calling the same function wherever it is required to perform the same task.
A function syntax is as the ke
Properties are defined as the values that are associated with a JavaScript object.It is also called the very important part of Javascript.
A JavaScript object is made up of a collection of un-ordered properties.It can be changes, added, deleted.
syn
Table is an abstract class which models the database and need to put constructor which declares the table name and primary key and also override some methods. It is used for creating,updating, reading and deleting of records in database. As this cla
Its very easy in java to convert String to Date.
Java provides SimpleDateFormat to handle Date related functionality.
Here we call parse() method of SimpleDateFormat.
Example
import java.text.SimpleDateFormat;
import java.util.Date;
public clas
This blog help you to find screen dimensions in pixels programmatically as well as get the screen width and screen height and then set position. You can use DisplayMetrics class. DisplayMetrics class is a structure describing general information abou
If you declare a method that takes two parameters, on This method call , you need to pass two parameters along with it.
But, Ruby facilitates to declare methods that can work with a variable number of parameters.
Example
def evon (*t)
puts "
If you want to delete an object from Parse DB then you have to run a query to fetch that object and then run a loop to delete it. If you already have that object then just call delete method. Here is the complete code.
PFQuery *query = [PFQuery quer
I am using Laravel and I want Automatically deleting rows using Eloquent ORM .In laravel we have deleting
event .By using this "deleting" event we can do all the clean up or what we want to delete we are able to delete.
By using example that wil
When we are working on Laravel then we should know the php artisan and composer and the differences between “php artisan dump-autoload” and “composer dump-autoload” are:
Laravel's Autoload is a bit different:
1) It will in fact use Composer for
Hello readres, today we discuss about "Get Cookies from Php Curl into a variable?".
CURL provides an option (CURLOPT_RETURNTRANSFER) to set a callback that will be called for each response header line. The function will receive the curl object and a
