Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,798,336 members, 6,686,441 topics. Date: Saturday, 22 January 2022 at 06:06 AM

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 (477 Views)

Web Masters Please Review This Blog. / How Can I Achieve The Same Result As The Attached Image On Google / Please How Can I Achieve This With Php (2) (3) (4)

(1) (Reply) (Go Down)

Hello Web Masters, Please How Can I Achieve This by AllyPolly: 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:
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
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:

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
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:
This same question is in the programming section, you can check out my reply.
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:
This same question is in the programming section, you can check out my reply.
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 built everything from scratch
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:

I know bros but is it coding... Like php... Html script?
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:

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.

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:

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.

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: 2:37pm On Oct 08, 2018
elninosft:


Just use htmlspecialchar_decode to echo the output. . It will remove those tags
it worked, thanks bro
Re: Hello Web Masters, Please How Can I Achieve This by elninosft(m): 4:33pm On Oct 08, 2018
AllyPolly:

it worked, thanks bro

You are welcome man..

(1) (Reply)

Wordpress Hosting:: Bluehost Vs Namecheap / Javascript Learning Bundle (10 Books And 5 Courses) For 1k / {OFFER} If You EARN Less With Your ADSENSE, Enter Here For Partnership

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