Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,296 members, 7,808,008 topics. Date: Thursday, 25 April 2024 at 02:45 AM

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

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

Programmers, How Do You Cope With Generator Noise In Your Area? / Help Web Development Issue / Programmers how much do you earn monthly? (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)

I Need / React Native App (android And Ios App) Starting Price 200k / Stop Jumping Around: This Is How To Learn Web Development!

(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 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.