Skip to content

Instantly share code, notes, and snippets.

Created March 19, 2014 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/12e022fd021f12318ba2 to your computer and use it in GitHub Desktop.
Save anonymous/12e022fd021f12318ba2 to your computer and use it in GitHub Desktop.
<form id="cse-search-box" action="http://www.bestbuy.ca/Search/SearchResults.aspx?type=product&text=mac&page=1&sortBy=relevance&sortDir=desc&query="<?php>echo $text;?> >
<input type="text" id="text" name="text" class="mytext" />
<input id="search" type="submit" value="" style="border-style: none; background: url('search.png') no-repeat; width: 50px; height: 50px;">
</form>
<?php
$text = $_POST["text"];
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment