OK if you send a page with something like this for your checkboxes....
<?
echo "
<tr>
<td width=\"120\">.com</td><td><input type=\"checkbox\" name=\"form_input[page1][domain][]\" value=\".com\"></td>
</tr>
<tr>
<td width=\"120\">.co.uk</td><td><input type=\"checkbox\" name=\"form_input[page1][domain][]\" value=\".co.uk\"></td>
</tr>
<tr>
<td width=\"120\">.net</td><td><input type=\"checkbox\" name=\"form_input[page1][domain][]\" value=\".net\"></td>
</tr>";
?>
... you'll get an array called $form_input["page1"]["domain"] with items holding the checked elements. If the user
Selects .com and .co.uk you'll get:
$form_input[page1][domain][0]==".com"
$form_input[page1][domain][1]==".co.uk"
So basically your array is set up from the moment the user posts the page.
From then on you'll do something like this (I take it you placed a text field called mydomain, in which the user
inputs his desired domain):
<?
while (list($key,$domain)=each($form_input["page1"]["domain"])) {
$mybuydomain[]=$mydomain.$domain;
}
// the following loop will create an array with the same elements as $form_input[page1][domain] only
// that it is preceded by the string $mydomain
?>