Print Search Query

index.html code:

        <form action="search.php" method="post" name="search">
        <input type="text" id="search_query" class="field" name="search_query" placeholder="Search a website ..."/>&nbsp;
        <input type="submit" name="search" id="submit" value="Search"/>

search.php code:

        <input type="text" id="go" class="field" name="go" value=""/>&nbsp;
        <input type="submit" name="search" id="submit" value="Search"/>

I want to create a search engine and I want to print the searched term from index.html to the search.php search box via php print or so..


Source: html

Leave a Reply