
Search In
Im making a 2d multiplayer game, can u tell me how to sync contacts from gmail, for ex if iam downloading my game app, so i want to sync those contacts from my gmail who has already downloaded that app, like the game clash of clans, in which contacts
Web application use cookies to store user related information . While testing web application
It is a best practice to delete cookies before starting a new test.
IE cookies can be deleted using WebUtil object which come along with QTP. We need to u
Hello all,
While working with HTML Editor, we wanted to give a functionality to user where He/She can selected a link inside the HTML Editor and he can Unlink it.
To do this, we have this block of code.:
var current = window.getselection();
if (cu
To make selection field in OpenERP (Odoo)
In Selection Field first we have to go in .py file (python file)
After that we have to decide where you want to give selection Field and then give attribute Selection to that field.
Like below python co
Loading vendors usually means you are loading packages , so in CakePHP you can use:
App::import('Vendor','');
As an expample if you want to load a vendor named “recurly” which is saved in your app's Vendor folder and you want to access the file n
To replace a text with a string a function str_replace() is used. It replaces all the occurences of the string that you have searched with the string you want to give in that place.
For example:
<?php
$str = "String in which you replace the stri
To find the number of days until a particular date you need to write the following PHP script:
<?php
$date1="December 31,2015";
$date2=strtotime($date1);
$date3=ceil(($date2-time())/60/60/24);
echo "There are " . $date3 ." days until $date1.";
?&
In PHP, to display the dates for the next six saturdays you need to write the following script.
<?php
$startdate=strtotime("Saturday");
$enddate=strtotime("+6 weeks",$startdate);
while ($startdate < $enddate) {
echo date("M d", $startdate
Hello Friends,
If you are looking to define logout functionality in Codelgniter. First we will unset the defined session variables then we will destroy the function. After this we will redirect the page in your desirable location. Please follow the
Hello Friends,
If you are looking to create crop functionality in Codelgniter. This very simple in this framework, please follow the below code for the same:
$cropConfig['image_library'] = 'imagemagick';
$cropConfig['library_path'] = '/define/path/
