RE: [PHP] Question: Simpler loop
| From: | Stuart Felenstein | Date: | Fri, 22 Oct 2004 16:13:00 +0000 |
| Subject: | RE: [PHP] Question: Simpler loop | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200099@lists.php.net to get a copy of this message | ||
Yes, I think that will work, as soon as I can figure
out where on the page it should go. On error should
post to itself, on success it moves to next page.
I put the loop on top and am getting an invalid
argument for the foreach.
Stuart
--- "Ford, Mike" <M.Ford@leedsmet.ac.uk> wrote:
> In which case:
>
> if ($skill!='' && $skys[$key]!='' && $slus[$key]
> !='')
> {
> // row is valid -- do stuff
> }
> else
> {
> // entry has at least one value blank -- issue
> error
> }
>
> Cheers!
>
> Mike
>
>
---------------------------------------------------------------------
> Mike Ford, Electronic Information Services Adviser,
> Learning Support Services, Learning & Information
> Services,
> JG125, James Graham Building, Leeds Metropolitan
> University,
> Headingley Campus, LEEDS, LS6 3QS, United Kingdom
> Email: m.ford@leedsmet.ac.uk
> Tel: +44 113 283 2600 extn 4730 Fax: +44 113
> 283 3211
>