"Michael Rudel" <[EMAIL PROTECTED]> wrote in message
005601c125a3$86f5fed0$[EMAIL PROTECTED]">news:005601c125a3$86f5fed0$[EMAIL PROTECTED]...

> From: bryan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 15, 2001 5:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] trying to code a simple hyperlink. Can

> > Can anyone spot my error? Return email will be greatly appreciated.
> > echo "<A HREF= ""accessgranted.htm"" ";
> > echo " >" ;
> > echo"click here";
> >  echo"</A>";

> echo "<A HREF= \"accessgranted.htm\" ";
> echo '<A HREF= "accessgranted.htm" ';

... I find that using double-quotes for the string
and single quotes within the string is the most flexible
and readable, ie

    echo "<a href='accessgranted.htm'>click here</a>";

because that allows you to write variables inline,

    echo "<a href='access.php?var=$varlist'>with params</a>";

YMMV, of course.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to