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

Search In

How to find elements from the group array in PHP

Hello Reader's! if you have set of arrays and you want to get all of them seperatly then the code below will help you. Let's say if you have [ [a], [b], [c], [a, b], [a, c], [b, c], [a, b, c] ] and you want this [a,b,c] The code will go lik

Multidex with Gradle

When our application and libraries references reaches their limits, then we get some errors that shows we reached the limit of built architecture. Like this trouble writing output: Too many field references: 131000; max is 65536. You may try using

INSERT(str,pos,len,newstr) MySQL function

INSERT(str,pos,len,newstr) If you want to insert a string inside another string then you can use this MySQL INSERT function. INSERT returns the string str, with the substring beginning at position pos and len characters long replaced by the string n

How to add custom setting in wordpress admin panel?

Hello readers, In this blog I will guide you "To add theme option in wordpress admin panel" The below code create a page in your admin dashboard. In dashboard a new tab create Pinboard, when you open this tab you can see three link General Homepa

How to calculate distance from CLLocationCoordinate2D

Using the following code we can calculate the distance between two CLLocationCoordinate2D. #define MILE_FROM_MERTER(dist) (dist*0.00062137119) +(double)calculateDistance:(CLLocationCoordinate2D) f to: (CLLocationCoordinate2D) t { // CLLocation

Help with java defensive programming technique

I have a the following four classes..  FTPApplication- Models FTP commands in a modular, extendible way. This abstract class provides several methods used by both the client and server. ServerSession- Models an FTP session with a client. Implem

how to avoid duplicate data in php mysql ?

i have this database which contain table for questions and other for answers how can i display each questions with the answers that belong to this question my problem is when i try to display the questions i get duplicated rows or all the answers for

How to make two divs equal in height lying side by side using html and css?

Hello Readers , this is a small blog on how to make two columns of equal height regardless of content inside the columns. First, we will write the HTML to make two columns lying side by side having same width. The following code is written to make tw

Blank screen issue in joomla 1.0

The blank screen in joomla 1.0 powered sites can be resolved by the following ways: You have to edit the two pages Step 1: In /includes/Cache/Lite/Function.php Replace $arguments = func_get_args(); to $arguments = func_get_ar

Explain portlet.xml, liferay-portlet.xml and liferay-display.xml

When we create a new portlet in Liferay, the folder structure is created as below: /PORTLET-NAME/ build.xml /docroot/ /css/ /js/ /WEB-INF/ /src/ (not created by default) liferay-display.xml

1 407 481
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: