You missed a semi-colon....... <?php print "<p>You want to add an event called <b>{$_POST['name']}</b> which takes place on: <br />"; if (is_array ($_POST['weekdays'])) { foreach ($_POST['weekdays'] as $day) { print "$day"; // <-------here } } else { print 'Please select at least one weekday for this event!'; } print '</p>'; ?> -----Original Message----- From: Support [mailto:support@xxxxxxxxxxxxxx] Sent: Thursday, 4 August 2005 3:47 PM To: Dean Maunder Subject: Re: can't find the parser error Thanks Dean, Here is the parse error...but when i attempt to correct it, the parse error seems to jump down to the next command line. Parse error: parse error, unexpected '}' ------snip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php