|
Posted by Oli Filth on 11/11/05 18:46
Khai said the following on 11/11/2005 16:36:
> Greetings -
>
> Right to the point:
>
> I'm using mySQL and PHP on a webhost, and WordPress. ...and I'm very very
> very new to this stuff.
>
> Wordpress is what I'm using to make it easy for my pops to post articles.
> My index.php uses some code to pull from the mySQL db (created by wordpress)
> and puts the post content into a div, then p class. However, I'm noticing
> that when the content contains html coding, it seems to fall out of the
> class and lose it's padding. Is there some command I need to use to modify
> the html code in the content when it's posted to my page?
>
http://www.php.net/htmlspecialchars
--
Oli
Navigation:
[Reply to this message]
|