> -----Message d'origine-----
> De : tedd [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 28 février 2007 15:54
> À : Delta Storm; php-general@lists.php.net
> Objet : Re: [PHP] ID problem
> 
> At 10:24 AM +0100 2/28/07, Delta Storm wrote:
> >The problem is:
> >
> >I have a index.php that takes the news from the database and 
> publishes 
> >them. And by the end of every news on index.php I have a link ('<a 
> >href="showfullnews.php?id=$id">Show full news</a>')
Is this possibly a quote issue?

 echo '<a href="showfullnews.php?id=$id">Show full news</a>';

Will not evaluate $id

Whereas echo '<a href="showfullnews.php?id=' . $id . '">Show full news</a>';


Will evaluate $id..

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to