Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Echo HTML From MySQL Value?
#1
so in the mysql it has html

[Image: 3d95368113be4c16e3baa2de95eaab15.png]

so on the index page where im trying to get the HTML it just shows:

[Image: 31b0a5fea66655d7e95be77bc1426bee.png]

PHP Code:
<?php echo htmlentities(getAppSetting('indexeditor')); ?>

is whats on the index page

everything works fine exept it displays as text not as html ?


can anyone help?
Reply


Messages In This Thread
PHP Echo HTML From MySQL Value? - by iMr - 03-11-2011, 01:35 PM
RE: PHP Echo HTML From MySQL Value? - by Cida - 03-17-2011, 02:41 PM
RE: PHP Echo HTML From MySQL Value? - by Cida - 03-18-2011, 02:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 943 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP echo contents of folder help DAMINK™ 3 1,249 06-01-2012, 04:07 PM
Last Post: DAMINK™
  [NEED HELP] PHP Form post, get, echo Đενɨаηсε™ 5 2,077 02-06-2012, 01:16 PM
Last Post: ★Cooldude★
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,671 10-10-2011, 01:00 PM
Last Post: Greyersting
  optimize mysql through a php script andrewjs18 7 3,351 10-05-2011, 06:31 PM
Last Post: John.

Forum Jump:


Users browsing this thread: 2 Guest(s)