Posted by Charles on 11/01/59 11:56
Jerry Stuckle wrote:
> See my earlier suggestion. Before checking if it's an array, you should
> see if it's even set:
>
> if(isset($_POST['lunch']) && is_array($_POST['lunch']) &&
> count($_POST['lunch'])) {
> foreach ($_POST['lunch'] as $choice) {
> print "You want a $choice bun. <br>";
> }
> }
Yes! Thank you Jerry! Working great now :)
Navigation:
[Reply to this message]
|