RE: [PHP] function echo ' '
| From: | Matthew Nock | Date: | Tue, 25 Jun 2002 07:32:35 +0000 |
| Subject: | RE: [PHP] function echo ' ' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103731@lists.php.net to get a copy of this message | ||
my understanding is that you could write it like this:
<? echo '<a href="'.$address.'"'; ?>
-----Original Message-----
From: Martin Johansson [mailto:d99majo@swipnet.se]
Sent: Tuesday, 25 June 2002 5:25 PM
To: php-general@lists.php.net
Subject: [PHP] function echo ' '
Is there a way to express php variables inside an echo ' '.
I want something like this to work:
echo '<a href="$address">';
I know I can write it like this:
echo '<a href="';
echo "$address";
echo '">';
But Its to hard to read the code like this.
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php