Re: combining text with $_POST
| From: | Sebastian | Date: | Sun, 06 Apr 2003 02:20:45 +0000 |
| Subject: | Re: combining text with $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142561@lists.php.net to get a copy of this message | ||
you also really don't need single quotes in the $_POST...
echo "Name: $_POST[name]";
.. should work.
cheers,
- Sebastian
----- Original Message -----
From: "Don Read" <dread@texas.net>
|
| 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 dread@texas.net
| -- 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
|