[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: RE: [users@httpd] New PHP user requests your assistance.
From: Anders Johansson <anders.johansson () universumglobal ! com>
Date: 2012-10-24 8:29:48
Message-ID: FA93765938CF5F45A028C537EAC66B2B17E0AF () STO1-EXCH10-MB1 ! pantheon ! universum ! se
[Download RAW message or body]
Maybe someone can unsubscribe users that spams the list? :)
-----Original Message-----
From: Hendrik Schmieder [mailto:hendrik.schmieder@jedox.com]
Sent: den 24 oktober 2012 09:07
To: users@httpd.apache.org
Subject: Re: [users@httpd] New PHP user requests your assistance.
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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
________________________________
DISCLAIMER: this message and all attachments transmitted with it are intend=
ed solely for the use of the addressee and may contain confidential informa=
tion. If you have received this message in error, please notify the sender =
immediately by replying to the message and delete it from your computer. An=
y other unauthorized use is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic