httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <john.ili...@iliffe.ca>
Subject Re: [users@httpd] New PHP user requests your assistance.
Date Wed, 24 Oct 2012 01:08:23 GMT
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:
> 
> <?php
> echo "<p>Welcome <b>$_POST[user]</b>!</p>";
> echo "<p>Your product choices are:<br>";
> if (!empty($_POST[products])) {
>    echo "<ul>";
>    foreach ($_POST[products] as $Value) {
>        echo"<li>$value";
>    }
>    echo "</ul>";
> }
> ?>
> 
> 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


Mime
View raw message