RE: [PHP] function echo ' '

2002-06-25 Thread Matthew Nock
my understanding is that you could write it like this: ? echo 'a href='.$address.''; ? -Original Message- From: Martin Johansson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 June 2002 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] function echo ' ' Is there a way to express php

Re: [PHP] function echo ' '

2002-06-25 Thread René Moonen
Use the escape character to output double quotes echo 'a href=\$address\'; René Martin Johansson wrote: 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;

Re: [PHP] function echo ' '

2002-06-25 Thread PHPCoder
Yes, just use instead of '. Using ' causes the contents to be treated as literal strings, and the $ is therefore not treated as a $. Just do: echo a href=\$address\; Martin Johansson wrote: Is there a way to express php variables inside an echo ' '. I want something like this to work:

Re: [PHP] function echo ' '

2002-06-25 Thread Craig
Can you use a href=? echo $address; ? or is this bad coding? René moonen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use the escape character to output double quotes echo 'a href=\$address\'; René Martin Johansson wrote: Is there a way to express

RE: [PHP] function echo ' '

2002-06-25 Thread Niklas Lampén
2002 10:43 To: [EMAIL PROTECTED] Subject: Re: [PHP] function echo ' ' Can you use a href=? echo $address; ? or is this bad coding? René moonen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use the escape character to output double quotes echo 'a href=\

Re: [PHP] function echo ' '

2002-06-25 Thread Martin Johansson
But the problem is that Im doin it inside a while loop. So I need to echo it. /mj Niklas lampén [EMAIL PROTECTED] skrev i meddelandet 025801c21c1d$55d16210$ba93c5c3@Niklas">news:025801c21c1d$55d16210$ba93c5c3@Niklas... Shorter version would be a href=?=$address? And this is not bad coding, it

Re: [PHP] function echo '

2002-06-25 Thread Pradeep Dsouza
Yes you can a href = link.php??php echo module=1; ? Link Here /a Pradeep Can you use a href=? echo $address; ? or is this bad coding? René moonen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use the escape character to output double quotes echo 'a

RE: [PHP] function echo ' '

2002-06-25 Thread Niklas Lampén
PROTECTED] Subject: Re: [PHP] function echo ' ' But the problem is that Im doin it inside a while loop. So I need to echo it. /mj Niklas lampén [EMAIL PROTECTED] skrev i meddelandet 025801c21c1d$55d16210$ba93c5c3@Niklas">news:025801c21c1d$55d16210$ba93c5c3@Niklas... Shorter version would be

Re: [PHP] function echo ' '

2002-06-25 Thread Martin Johansson
? a href=page?=$i?.htmPage ?=$i?/a ? }; ? Niklas -Original Message- From: Martin Johansson [mailto:[EMAIL PROTECTED]] Sent: 25. kesäkuuta 2002 10:56 To: [EMAIL PROTECTED] Subject: Re: [PHP] function echo ' ' But the problem is that Im doin it inside a while loop. So I need to echo

Re: [PHP] function echo ' '

2002-06-25 Thread Martin Johansson
Thanks all for your replies! For my code, this is the best way to view variables in echo functions ? echo 'a href='.$address.''; ? It is nice and easy to read while going through a lot of code. /mj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: