Beginning PHPBeginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I'm new to php and currently building a CMS.
I'm wondering if its right to store the whole chunk of paragraph into a field?
And, how do we get formatted text (bold, italics, breaks etc) into the database?
Please help
The quantity of text in your field depends on the parameters of your field such as type and length. Formatted text can be made with a Rich Text Editor (RTE), it then inserts all the html coding like <strong></strong> into the database.