Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to replace array elements with another array elements?

Hello friends, Today we will learn how to replace array element with other elements. In PHP, array_replace() function is used to replace the array elements with another array elements with the help of key. That is, elements of the first array will b

how to convert string into date format using Javascript

If you have a sting in the format of dd-mm-yyyy and you need to convert it into date format then you can see the operation below:- var date1 = "07-11-2015"; var numbers = date1.match(/\d+/g); var date = new Date(numbers[2], numbers[0]-1, numbers[1

.to_a in Ruby

.to_a is used to specify range. It is a method that converts an object into an array Example $, =", " # Array value separator range1 = (1..10).to_a range2 = ('bar'..'bat').to_a puts "#{range1}" puts "#{range2}" Output 1, 2, 3, 4, 5, 6, 7, 8, 9

How to sort an given array by it's any key index

Hello Reader's! if you have an given array on with you want to sort with any selected key index as show below:- Array ( [0] => Array ( [configuration_id] => 10 [id] =&

Compare two dates in iOS

To compare two dates we can use the following code : NSComparisonResult result = [mydate1 compare:mydate2]; //where mydate1 and mydate2 are two dates we want to compare. if (result == NSOrderedDescending) { //mydate1 is later than mydate2 } else

How to use Delegation method in openERP/Odoo ?

The delegation method is performed the reference fields automatically set up on the parent model: For example you can take idea from below code- class Child0(models.Model): _name = 'delegation.child0' field_0 = fields.Integer() class

WCF services

WCF services are used to perform functionality that are commonly need by our web applications. Like we need payment gateway integration in most of our websites so what we do is to create a service for that. Ex: [ServiceContract] public in

ImgView should change Background by clicking Img Button

hello i have 1 img view and 3 imgbutton i want to set the img view background as same as img button click means imgbutton 1 click the image view should get img button1 background

Delete Test Sales/Order data from Magento

To **delete the test sales/Order data from magento** run the below queries in your magento database -- SET FOREIGN_KEY_CHECKS=0; ############################## # SALES RELATED TABLES ############################## TRUNCATE `sales_flat_creditmemo`;

Structure in C

Structure is basically a user defined datatype which is a collection of heterogeneous elements. Each element of a structure is called a member. It works like a template in C++ and class in Java. It is used to store student information, employee

1 9 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: