Tuesday, 15 September 2015

php - Amazon search widget 2.0, how can i pull in a keyword from a querystring via "q="? -



php - Amazon search widget 2.0, how can i pull in a keyword from a querystring via "q="? -

sorry pain seem stuck , cant find help anywhere on issue.

i have search box , upon submit of keyword/phrase (in illustration cars) query string becomes example.com/?q=cars

this fires page of: example.com/shopping.php?q=cars

i implementing amazon search widget 2.0 shopping page , although can specify default search term, please advise how can widget automatically pull in query string query?

i have tried inserting: < ?php echo $_get["q"]; ? > box of amazon inquire default search term doesn't know mean when doing this..

thank in advance taking time read & perchance reply!

richard

the amazon search 2.0 widget uses javascript pull saved info amazon's servers. means info set format box saved in databases. can't utilize php variable in there. you're improve off creating own search box, , setting action of form search through amazon. check out this link see mean. it's wordpress website, can implement website.

php amazon-web-services query-string amazon

No comments:

Post a Comment