
Search In
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 =
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.
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
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
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
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 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
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
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
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
