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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx > Tel: +44 113 283 2600 extn 4730 Fax: +44 113 > 283 3211 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php