ircykk Posted October 15, 2010 Share Posted October 15, 2010 Hi, when create new object, content is saved do DB without html tags ex "content"..How save content with that tags? $news = new News(); $news->title = "title"; $news->content = " content"; $news->author = "author"; $news->save(); sorry for my bad english Link to comment Share on other sites More sharing options...
ircykk Posted October 15, 2010 Author Share Posted October 15, 2010 $fields['content'] = pSQL($this->content, true); pSQL second parameter thanks anyway Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now