You should read this section of the manual:

http://us2.php.net/manual/en/language.types.string.php

Scroll down the the "Variable parsing" title and read from there and all
will be clear.

-Rasmus

On Sun, 1 Jun 2003, Steven Farrier wrote:

> I have tried using $_POST array variables in the following ways
>
> $message = "($_POST['first_name'])
> ($_POST['last_name'])\n($_POST['address'])\n($_POST['city'])
> ($_POST['state'])
> ($_POST['zip'])\n($_POST['country'])\n($_POST['email'])\n($_POST['design'])\
> n($_POST['comments'])";
>
>      $message = "$_POST['first_name']
> $_POST['last_name']\n$_POST['address']\n$_POST['city'] $_POST['state']
> $_POST['zip']\n$_POST['country']\n$_POST['email']\n$_POST['design']\n$_POST[
> 'comments']";
>
> Neither of these have worked what am I doing wrong?
>
> Steve
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to