I found the problem: all the tags had been converted to html entities
so I had to use html_entity_decode(). That explains why strip_tags
didn't work. The blog is on LiveJournal, btw. 

Thanks for everyone who offered suggestions.

--- In [email protected], "ksaul27" <[EMAIL PROTECTED]> wrote:
> If I have '$description = "See my <a href="url_here">web page</a>.";'
> 
> Then, 'echo $description;' prints out the html code literally rather
> than processing the html. That's understandable, but how can I have it
> process instead?
> 
> The purpose of this is that the description variable is populated with
> text from a file that contains code (an RSS feed).




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CefplB/TM
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to