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 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: http://www.php.net/unsub.php

Re: [PHP] function echo ' '

2002-06-25 Thread Martin Johansson
AIL 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 it. /mj "Niklas lampén" <[EMAIL PROTECTED]> skrev i meddelandet 025801c21c1d$55d16210$ba

RE: [PHP] function echo ' '

2002-06-25 Thread Niklas Lampén
Not true. :) You can do it like this: (Ok, this is a for loop, but idea is the same) 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 it. /m

Re: [PHP] function echo '

2002-06-25 Thread Pradeep Dsouza
Yes you can "> Link Here Pradeep Can you use 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 ''; > > René

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 And this is not bad coding, it is actually fas

RE: [PHP] function echo ' '

2002-06-25 Thread Niklas Lampén
43 To: [EMAIL PROTECTED] Subject: Re: [PHP] function echo ' ' Can you use 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

Re: [PHP] function echo ' '

2002-06-25 Thread Craig
Can you use 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 ''; > > René > > Martin Johansson wrote: > > >Is there a way to express php variables inside an echo '

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 ""; Martin Johansson wrote: >Is there a way to express php variables inside an echo ' '. > >I want something like this to work: > >echo ''; > >

Re: [PHP] function echo ' '

2002-06-25 Thread René Moonen
Use the escape character to output double quotes echo ''; René Martin Johansson wrote: >Is there a way to express php variables inside an echo ' '. > >I want something like this to work: > >echo ''; > >I know I can write it like this: >echo 'echo '">'; > >But Its to hard to read the code like

RE: [PHP] function echo ' '

2002-06-25 Thread Matthew Nock
my understanding is that you could write it like this: -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 variables inside an echo ' '. I want