$shopnames[] is a list of all of the shop URLs as they appear in the main while loop.
This list forms part of the HTTP query sent by the selected smart form to
multishop.php.
Take forms/genericproductform.inc as an example: this form will contain four
visible input fields, namely Product, Make, Model and Price. In addition, PHP
generates a number of hidden input values, each of which are of the form:
In the next section, we will see how shop.php and multishop.php parses the HTTP query
string generated either by the smart form or by a selection of one or more shops in the
results table.
36