this works too:

$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'];

"Zbranigan" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> >>>>> "Steven" == Steven Farrier <[EMAIL PROTECTED]> writes:
>
>     Steven> I have tried using $_POST array variables in the following
>     Steven> ways $message = "($_POST['first_name'])
>     Steven> ($_POST['last_name'])\n($_POST['address'])\n($_POST['city'])
>     Steven> ($_POST['state'])
>     Steven>
($_POST['zip'])\n($_POST['country'])\n($_POST['email'])\n($_POST['design'])\
>     Steven> n($_POST['comments'])";
>
>     Steven> $message = "$_POST['first_name']
>     Steven> $_POST['last_name']\n$_POST['address']\n$_POST['city']
>     Steven> $_POST['state']
>     Steven>
$_POST['zip']\n$_POST['country']\n$_POST['email']\n$_POST['design']\n$_POST[
>     Steven> 'comments']";
>
>     Steven> Neither of these have worked what am I doing wrong?
>
>     Steven> Steve
>
>
> try it like this:
> $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['des
ign']})\
> 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']}";
>
> --
> no toll on the internet; there are paths of many kinds;
> whoever passes this portal will travel freely in the world



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

Reply via email to