Wrox Programmer Forums
|
Beginning PHP Beginning-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
 
Old June 21st, 2009, 12:43 PM
Registered User
 
Join Date: Jun 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Building a CMS

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
 
Old July 30th, 2009, 02:30 PM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default it depends

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
IF YOU WANT A CMS PHP cyber_kaley20 Beginning PHP 3 August 1st, 2012 05:15 AM
Wrox CMS in C# .Netster BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 10 February 26th, 2007 04:56 PM
CMS abaso.jadhav01 ASP.NET 2.0 Basics 3 November 22nd, 2006 02:47 AM
CMS easter BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 12 August 7th, 2006 04:15 PM
CMS anshul Pro PHP 2 May 30th, 2005 01:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.