Hello Web Masters, Please How Can I Achieve This - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Hello Web Masters, Please How Can I Achieve This (734 Views)
| Hello Web Masters, Please How Can I Achieve This by AllyPolly(op): 2:43pm On Oct 07, 2018 |
I have a website that has a blog in it. This is what I want to achieve. I want to create topics as an admin. In the textarea box where I will input the body of topic before posting. I want a situation where I can use html tags such as bold,italics and change font color on the textarea box and the output will be visible after posting the topic. thanks |
| Re: Hello Web Masters, Please How Can I Achieve This by Kelvin30286063(m): 3:00pm On Oct 07, 2018 |
AllyPolly:That's depends solely in the platform you blog was built on. If you can be more specific with the platform your blog was build on, maybe I can suggest a text editor that will help |
| Re: Hello Web Masters, Please How Can I Achieve This by Ayemileto(m): 3:55pm On Oct 07, 2018 |
This same question is in the programming section, you can check out my reply. |
| Re: Hello Web Masters, Please How Can I Achieve This by Immanuelar(m): 4:01pm On Oct 07, 2018 |
Kelvin30286063:I built everything from scratch |
| Re: Hello Web Masters, Please How Can I Achieve This by Immanuelar(m): 4:03pm On Oct 07, 2018 |
Ayemileto:yeah, just saw it thanks, it probably didn't work because I have used some php striptags function to preserve the dbase from injection. will update u if it works |
| Re: Hello Web Masters, Please How Can I Achieve This by Immanuelar(m): 4:26pm On Oct 07, 2018 |
Ayemileto:It didn't work out even after removing the real escape string and stripslashes. It still printed out "<b>this is d text to bold</b>" when I used by the bold tag By the way I am using a prepared statement. |
| Re: Hello Web Masters, Please How Can I Achieve This by Kelvin30286063(m): 4:41pm On Oct 07, 2018 |
Immanuelar:I know bros but is it coding... Like php... Html script? |
| Re: Hello Web Masters, Please How Can I Achieve This by Immanuelar(m): 4:55pm On Oct 07, 2018 |
Kelvin30286063:yeah boss.php with MySQL as dbase. sorry I thought u were saying if d blog is on blogger or WordPress |
| Re: Hello Web Masters, Please How Can I Achieve This by elninosft(m): 5:14pm On Oct 07, 2018 |
Immanuelar:Just use htmlspecialchar_decode to echo the output. . It will remove those tags |
| Re: Hello Web Masters, Please How Can I Achieve This by Ayemileto(m): 6:08pm On Oct 07, 2018 |
Immanuelar:Do you use htmlentities, or any of those html encoding functions? Try using print_r() to show the result returned from your DB and send a screenshot. |
| Re: Hello Web Masters, Please How Can I Achieve This by AllyPolly(op): 2:37pm On Oct 08, 2018 |
elninosft:it worked, thanks bro |
| Re: Hello Web Masters, Please How Can I Achieve This by elninosft(m): 4:33pm On Oct 08, 2018 |
AllyPolly:You are welcome man.. |
Web Masters Come Oooo!!! • Web Masters Come In Here (wordpress) • Web Masters Please Review This Blog. • 2 • 3 • 4
Erudito Wordpress Theme • Buy Ponzi Script • Anyone Having Naija Old Policy Google Adsense