PDA

View Full Version : Whats The Code To Add A Ebay Search Bar?



designers_hub
12th July 2005, 05:52 PM
What is the code to add a Ebay Search Bar on your web site? I only want it to result results for a particular seller.

hawker
13th July 2005, 08:22 AM
Hmmm - an advanced search. You can do a simple search, but adding in the buyer/seller name becomes harder - have you googled?

designers_hub
14th July 2005, 11:15 AM
i made a php code that should work:



<?php
$search = Trim(stripslashes($_POST['search']));
print "<meta http-equiv=\"refresh\" content=\"0;URL=http://search.ebay.com.au/[B$search[/B]_W0QQsofocusZbsQQsbrftogZ1QQrdZ0QQfrppZ50QQfromZ R10QQsacatZ-1QQcatrefZC6QQsadisZ200QQfposZ2165QQga10244Z10425Q QftrtZ1QQftrvZ1QQsellerZ1QQsassZEBAYUSERNAMEQQfsop Z1QQfsooZ1QQcoactionZcompareQQcopagenumZ1QQcoentry pageZsearch\">";
?>


doesn't work right. can anyone help?
The bold section is where the search query is inserted.