Re: [PHP4BETA] Misc PHP questions...
| From: | Andrei Zmievski | Date: | Tue, 14 Mar 2000 19:23:59 +0000 |
| Subject: | Re: [PHP4BETA] Misc PHP questions... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12102@lists.php.net to get a copy of this message | ||
On Tue, 14 Mar 2000, Ryan Robertson wrote:
> Where ArticleID is the CF variable. Is there something equivalent in PHP?
> The closest I've come up with is either to echo a concatenated string or to
> echo the results of sprintf. So I might have something like this:
>
> echo sprintf("<A
> HREF=\"http://www.somesite.com/article.cfm?id=%d\".EU¡
> y÷Ü«ÃîüTàôt></A>",
> $ArticleID);
>
> or
>
> echo "<A
> HREF=\"http://www.somesite.com/article.cfm?id=",
> $ArticleID,
> "\"></A>";
<A HREF=\"http://www.somesite.com/article.cfm?id=<?=$ArticleID?>"></A>
-Andrei
* Unix is user friendly, it is just chooses its users selectively. *