Wes Smith schrieb:
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>";
}
?>


As already told you, this is not PHP list.
Try it with
$_POST["user"]
$_POST["products"]

And read the fine PHP manual more carefully.

   Hendrik


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to