I know there is PHPBB can fulfill the interface of a forum like here.
I only want to implement a input text area for content input, but I hope to have some html tag cab be selected using B I U for
bold, italic unerscorce, etc... how i use phpbb, just dowload it and included in.

Can someone offer a light...

    Im not sure I understand exactly what you want.

      I have a content management code, and allow users to type in
      the content( a sentense, or paragrahs,etc..). I want to add some
      features, such as bold/italic/underscore a hilghted word/words,
      then I will submit this text (together with html tags) to database.

      From the forntend, I can view the content which has been bolded/italized/underscored on the specified words.

      I know phpbb can support similar thing in PHP forums. In order
      to take advantage of PHPBB, so I need to include those relataed codes in PHPBB or what should I do....but what is the related codes, shall look inside?

        there are many functions like this already written, much like the ones in phpbb (which is open source) that you could use...

        its something called bbcode, since php and sql translate conventional html tags into html....

        on more advanced boards, they use java to simply insert the bbcode when you click the button...in your case it may be easier just to include some notes on your basic bbcode...

        use a tag like [b] bold words [/b] to represent bold text, and when your script calls this data from the database have a function that translates the bbcode back into html tags...IE, have a function find all instances of [b] and [/b] and turn it into <strong> </strong>

        please note: the escaped characters, "\" are not to be included in your implementation of the script, I only put them there so that this board wouldnt translate that stuff in the way I described

        etc...

          Write a Reply...