RE: [users@httpd] New PHP user requests your assistance.

2012-10-24 Thread Anders Johansson
Maybe someone can unsubscribe users that spams the list? :) -Original Message- From: Hendrik Schmieder [mailto:hendrik.schmie...@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: >

Re: [users@httpd] New PHP user requests your assistance.

2012-10-24 Thread Hendrik Schmieder
Wes Smith schrieb: I am receiving NOTICES when I run a script like this one: Welcome $_POST[user]!"; echo "Your product choices are:"; if (!empty($_POST[products])) { echo ""; foreach ($_POST[products] as $Value) { echo"$value"; } echo ""; } ?> As already told you, thi

Re: [users@httpd] New PHP user requests your assistance.

2012-10-23 Thread John Iliffe
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

Re: [users@httpd] New PHP user requests your assistance.

2012-10-23 Thread Marcin 'Rambo' Roguski
> I welcome and seek advice from those more experienced. > Thank you. > Wes Smith This is not a PHP forum but whatever, array keys should be used in parentheses unless there are statically declared variables used on purpose (in your code they're not). -- What ever happened to happily ever after