I am getting a parse error in the following line of code

**************************
foreach ($messagearray as $value) {
  //print("strlen:  " . strlen($value));
  if (strlen($value) >= 22) {
  ?>
  <script>
   alert('Your post is too long...use the forum for longer stories.')
  </script>

   <?
    $message="";
   break;
  }
 }
*************************
can anyone see whats causing the problem

kenny


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to