RE: [PHP] can't find the parser error

From: Date: Thu, 04 Aug 2005 05:51:21 +0000
Subject: RE: [PHP] can't find the parser error
Groups: php.general 
Request: Send a blank email to php-general+get-219974@lists.php.net to get a copy of this message
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@passeycorp.com] Sent: Thursday, 4 August 2005 3:47 PM To: Dean Maunder Subject: Re: [PHP] 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

« previous php.general (#219974) next »