Re: Double quotes question
| From: | Michael Davey | Date: | Mon, 03 Jun 2002 15:39:30 +0000 |
| Subject: | Re: Double quotes question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14054@lists.php.net to get a copy of this message | ||
> I did try going else { print "<a
> href="$file">$file</a><br
> />\n"; } but all I get is PHP errors doing this until the double quote
> is removed, any help in this would be great.
This would work:
print "<a href=\"$file\">";
and so would:
print "<a href='$file'>";
or even:
print <<<END
<a href="$file">
END;
But you really should have checked the manual first...
http://www.php.net/print