Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25747D060 for ; Wed, 24 Oct 2012 01:08:50 +0000 (UTC) Received: (qmail 45702 invoked by uid 500); 24 Oct 2012 01:08:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 45645 invoked by uid 500); 24 Oct 2012 01:08:47 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 45636 invoked by uid 99); 24 Oct 2012 01:08:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 01:08:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john.iliffe@iliffe.ca designates 206.248.138.118 as permitted sender) Received: from [206.248.138.118] (HELO iliffe.ca) (206.248.138.118) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 01:08:39 +0000 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=192.168.1.10; Received: from wkstn01.iliffe.ca (unverified [192.168.1.10]) by iliffe.ca (SurgeMail 4.3e) with ESMTP id 2990-1594962 for ; Tue, 23 Oct 2012 21:08:17 -0400 From: John Iliffe To: users@httpd.apache.org Date: Tue, 23 Oct 2012 21:08:23 -0400 User-Agent: KMail/1.13.3 (Linux/2.6.33.7-desktop-2mnb; KDE/4.4.3; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201210232108.23446.john.iliffe@iliffe.ca> X-Authenticated-User: john.iliffe@iliffe.ca X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] New PHP user requests your assistance. I'm not a PHP guru but don't you mean: if ( isset($_POST[products])) .... Regards, John ======================================== On Tuesday 23 October 2012 15:45:02 Wes Smith wrote: > I am receiving NOTICES when I run a script like this one: > > echo "

Welcome $_POST[user]!

"; > echo "

Your product choices are:
"; > if (!empty($_POST[products])) { > echo "

    "; > foreach ($_POST[products] as $Value) { > echo"
  • $value"; > } > echo "
"; > } > ?> > > The following are example of the Notices that I receive. > [image: Inline image 1] > > I welcome and seek advice from those more experienced. > Thank you. > Wes Smith --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org