Re: Parsing... the hell of PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin.C.Austin@xxxxxxxxxxxxx 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.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux