Re: Break message in code.
| From: | Analysis & Solutions | Date: | Wed, 17 Jul 2002 04:50:41 +0000 |
| Subject: | Re: Break message in code. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108029@lists.php.net to get a copy of this message | ||
On Tue, Jul 16, 2002 at 11:11:57PM -0500, W. Andy Roche wrote:
>
> If (empty ($sndrname)) {
> $error_report_msg = "Please provide a contact name.<br>";
> error_msg_form($error_report_msg);
> break 1;
> }
Where's the while loop, for loop or case statement the break is meant to
break out of? If there isn't one, break is inappropriate. Do you mean
exit()?
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409