Jump to content

Bolding text


cturner

Recommended Posts

I am wondering if it is possible to do the following with PHP:

1. Select the text that needs to be bold

2. Click on the bold icon which should be above the text box

3. Then the text should appear bold

4. When the save button is clicked to bold text should be saved to a database as well as the rest of the text?

I am wanting the bold text as well as the other text to be able to appear on another page.

 

I don't want bbcode to appear both sides of the highlighted text.

 

I am needing to create am admin section for a client of mine. That is why I am asking. Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/60017-bolding-text/
Share on other sites

I am wondering if it is possible to do the following with PHP:

1. Select the text that needs to be bold

2. Click on the bold icon which should be above the text box

3. Then the text should appear bold

4. When the save button is clicked to bold text should be saved to a database as well as the rest of the text?

I am wanting the bold text as well as the other text to be able to appear on another page.

 

I don't want bbcode to appear both sides of the highlighted text.

 

I am needing to create am admin section for a client of mine. That is why I am asking. Thanks in advance.

 

If you want the text to appear bold, you need to implement a textbox capable of rich text. This means you'll probably have to use some amount of Javascript.

Link to comment
https://forums.phpfreaks.com/topic/60017-bolding-text/#findComment-298501
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.