Re: Parsing... the hell of PHP
| From: | Burhan Khalid | Date: | Thu, 31 Mar 2005 06:36:10 +0000 |
| Subject: | Re: Parsing... the hell of PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211936@lists.php.net to get a copy of this message | ||
Martin.C.Austin@supervalu.com wrote:
$url = "<a href =\".$url."\">.HtmlEntities($url)."\">".</a>"; It appears the parse error is at the end of your opening link tag, so PHP doesn't know what >.HtmlEntities($url) means. I'm at work so I can't test it, but that appears the culprit to me. $url = "<a href=\"$url\">" . HtmlEntities($url) . "</a>"; should suffice.Please don't make a habit of changing the case of built-in PHP functions.