Re: New PHP user requests your assistance.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux