for($i=0;$i<$_POST['numberOfAmendments'];$i++) {
$amendmentNumber = $_POST['amendmentID_$i'];
}
Replace your single quotes with double quotes. Variable substitution is not performed on single-quoted strings.
-- Stuart
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php