How to select rows which doesn’t exist in other table in SQL

Standard

We all are familiar with selecting the rows which has common data in multiple tables. And yes using joins are the most popular solution among the developers.

Now question is how to select rows which doesn’t exists in other tables.

lets say there are two tables employee and department.

Continue reading

Configure apache php server to point location another then htdocs or www

Standard

Obviously! we can point apache server to pick our code files from another location other then www or htdocs. Also we can configure the url for our project folder.

Lets take a look how.

Step 1. Look for the file httpd.conf (this can be found under your apache installation folder inside conf directory)

Continue reading

How to get selected text from textarea/text input in Ext JS

Standard

Hi Guys!

Here I am going to explain about getting selected text string from a EXTJS/HTML textarea/textinput.

We need to write two different code for IE based browsers and rest of all.

In ExtJS first we need to select dom element of textarea and that can be done using inputEl.dom.

Continue reading