Hi,
I am working on a search script in php mysql & jquery.Its working fine.What i want to do,when a user click search button,it opens a new page named search.php.
need help

you want it to open a new page that is jquery or javascript, you create a script which will take there input say SNOW and join it to a url on click, for example

USER = document.getElementById("search_Box").value;
window.open('search.php?query='+USER);

the above code is javascript to use the query SNOW search

in your php mysql query where you got the WHERE statment or the strstr statment put $_GET

if(strstr($haystack, $_GET['query'])){echo $result;}

   or 
  mysql_query("SELECT * FROM database WHERE tag='".$_GET['query']."'");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.