Re: Script FLOW-- branching and subroutines/functions
| From: | Michael Hall | Date: | Mon, 09 Apr 2001 13:16:12 +0000 |
| Subject: | Re: Script FLOW-- branching and subroutines/functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47796@lists.php.net to get a copy of this message | ||
Lets try that again:
> <?php
>
> if ($submit) {
> if (data already in db) {
reject data;
}
else {
> commit data to db;
> }
> }
> else {
> display form with submit button named 'submit';
> }
>
> ?>
>
>
A bit of a mud map ... hope it helps
Mick