you also really don't need single quotes in the $_POST...

echo "Name: $_POST[name]";

.. should work.

cheers,
- Sebastian


----- Original Message ----- 
From: "Don Read" <[EMAIL PROTECTED]>


| 
| On 06-Apr-2003 David McGlone wrote:
| > Hi all, how can I combine this line to use just 1 echo statement?
| > 
| > echo "Name: "; echo $_POST['name']
| > 
| 
| echo 'Name: ', $_POST['name'];
| 
| -or-
| 
| echo 'Name: ' .$_POST['name'];
| 
| 
| Regards,
| -- 
| Don Read                                       [EMAIL PROTECTED]
| -- It's always darkest before the dawn. So if you are going to 
|    steal the neighbor's newspaper, that's the time to do it.
| 
| -- 
| 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