Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,442,110 members, 5,497,259 topics. Date: Saturday, 28 March 2020 at 08:58 PM

Help Web Programmers , How Can I Achieve This - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help Web Programmers , How Can I Achieve This (284 Views)

Programmers how much do you earn monthly? / Please Web Programmers Help Me On This / Programmers, How Is This Recession Affecting Your Work? (2) (3) (4)

(1) (Reply) (Go Down)

Help Web Programmers , How Can I Achieve This by Immanuelar(m): 2:49pm 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: Help Web Programmers , How Can I Achieve This by Ayemileto(m): 3:52pm On Oct 07, 2018
Ordinarily, if you input HTML tags in the textarea, it should work without you needing to change anything.


HTML is actually interpreted by the browser, so saving HTML tags in your database alongside page contents will work as if the HTML tags were saved in a file.

Just the way you use slash, semicolon etc and they display in the browser.

HTML tags you input should work by default.
Re: Help Web Programmers , How Can I Achieve This by elninosft(m): 5:10pm On Oct 07, 2018
Immanuelar:
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

To add features like bold, italics etc.. Use a text editor on your textarea. . E.g CKeditor. .. Then on the blog use this to echo the output.. htmlspecialchar_decode
Re: Help Web Programmers , How Can I Achieve This by Immanuelar(m): 5:17pm On Oct 07, 2018
elninosft:


To add features like bold, italics etc.. Use a text editor on your textarea. . E.g CKeditor. .. Then on the blog use this to echo the output.. htmlspecialchar_decode
Thanks, will Google it and see how it works. thanks

(1) (Reply)

Common Mistakes Programmers Do Make; Top 15 / React Native Vertical Scrollview Example Android / How Do I Setup Bootstrap Sass Using Koala

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 38
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.