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

Search In

Sql JOINS of Database in magento

Sometimes if we have to write some joins sql query in magento we cand write those joins as :   public function joins() { $table = $this->getMainTable(); $table2 = $this->getTable('customer/entity'); $cond =

Regex To Extract 2nd Level Domains From All TLDs ?

Good Day Folks! 1. Is the following regex ok to extract top level domains and 2nd level domains ? [^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$ How to write php code to use that regex ? Any sample code welcome.

Separate a column value into 2 column in MySQL table

Hello friends, I am here to share a issue which I faced once, That is I want to separate a columns values into 2 columns. So if you are also looking to separate a columns value into 2 columns, You can use following syntax- UPDATE your_table SET co

How to call previous form method in window application C#

Sometime there is a situation where we have to call previous page method after completing the current page process. This is usually required when we open the page in Dialog box. Here below is the example of this.In this example, I open the 2nd form i

Unity 5.1 UI: DropDown Menu

Unity 5.1 UI : DropDown Menu We have to go through the following steps to create a DropDown menu in Unity 5.1 UI - In the Hierarchy Window go through UI -> Canvas Create a Panel1 as a child of this canvas Create a Button1 as a child of this Panel

Cloning and freezing objects

Suppose we have an object and that object is assigned to two different variables. Now if we make any changes to one variable the other variable's will automatically change. For example Obj_1 = [1,2,3] obj_2 = obj_1 obj_2 << 4 p Obj_1 p

Jagged array in c#

Jagged array is an array of array it means jagged array is a collection of homogeneous arrays. An arrays inside the jagged array are of different length. As the jagged array contains the arrays therefore its collection of homogeneous reference type e

How to get difference between two or more arrays in PHP?

Hello friends, Today we learn how to find out the difference between two or more arrays. Difference between two or more arrays can be based upon key and value of arrays. PHP provides following functions to fulfill the same: 1. array_diff() Fun

Laravel Eloquent - Attach vs Sync

Attach and Sync are the two methods which we used in our Laravel Eloquent. We can describe this as follow: attach(): 1) This is used for Insert related models. This method is used when we want to work with many-to-many relations. 2) When we are usi

Window application opens two windows when we minimize & maximize application in processing time

How to resolve "window application opens two windows when we minimize & maximize application in processing time"?   Sometime we face an issue in window application that if one window take more processing time to move to the next

1 3 423
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: