Filzhut.net Filzhut.net amazon_functions for PHP (Version 0.9)
Making the work with Amazon.com™ Web Services Version 1.0 much easier

amazon_create_searchform

Generates an HTML-Table with a standarized searchform

amazon_create_searchform([ str url, [ str image]])

This function returns a standarized HTML-form. To define the script which should be called by the form set url. If you leave this field blank, the script will call itself. With image you can define that the returned form has no grey submit-button but the selected image instead. The names of the forms' inputfields are "SearchType", "SearchMode" and "SearchKeyword".

Example 1. Returns a searchform:

$SearchForm=amazon_create_searchform();
echo $SearchForm;

Will return:

Type:
Mode:
Search for:


© by Filzhut.net, Daniel Filzhut 2002