Re: an array question
| From: | Torsten Roehr | Date: | Thu, 20 May 2004 17:59:53 +0000 |
| Subject: | Re: an array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186612@lists.php.net to get a copy of this message | ||
"Blake Schroeder" <blake@lhwd.net> wrote in message
news:40ACF15D.5030400@lhwd.net...
> What is wrong with whis syntax:
> $array =
> array("$_POST['input_1']","$_POST['input_2']");
You don't need the double quotes:
$array = array($_POST['input_1'], $_POST['input_2']);
Regards,
Torsten