Question: I want to make a search engine in an intranet. Now i use this clause in PHP.

```
$k = explode(" ",$_GET[key]);
$sql = "select entreprise.*, employee.* where entreprise.* or employee.* like  '%$k[0]%' or '%$k[1]%'";

```

But it seems doesn't work. Do you know where is wrong? 

Thanks in advance. 

Edit:

```
$sql = "select * from entreprise, site, salarie where entreprise.*, site.*, salarie.* like  '%$k[0]%' or '%$k[1]%'";

```

I have modified the query clause. With this code, i think you can know what i want to do. 

I want to find anything that matches the content in all the columns of entreprise table and the content in all the columns of employee table.

Answer: 
```
$("a.merchantLink").click(function(){
   // (if div is the previous element to ul)
   $(this).closest("ul.merchantsInProductList").prev("div.skuFinder");

   // (if div is the not previous element to ul and is anywhere inside li with 
   //class productListItem)
   $(this).closest("li.productListItem").find("div.skuFinder");
});

```
Try:

```
$('a.merchantLink').click(function(){
   var el = $(this).parent().siblings('.skuFinder');
});

```