Thanks, that was new for me! /mj "Niklas lampén" <[EMAIL PROTECTED]> skrev i meddelandet 026b01c21c31$3bdab780$ba93c5c3@Niklas">news:026b01c21c31$3bdab780$ba93c5c3@Niklas... Not true. :) You can do it like this: (Ok, this is a for loop, but idea is the same)
<? for ($i = 0; $i < 10; ++$i) { ?> <a href="page<?=$i?>.htm>Page <?=$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 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 is actually faster than echoing everything. We had this conversation maybe a week ago, so let's not start it again. :) Niklas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ########################################### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/ ########################################### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php