You are here: How do I add PHP code into a DB field « PHP « IT news, forums, messages
How do I add PHP code into a DB field

Posted by Tim Burgan on 02/18/05 08:45

Hello,


On my page, all my content is updated via a textarea online.

If I include PHP code embeded with my HTML in the textarea, the database
converts it to plain text, instead of code that can be used. It doesn't
convert < to &lt; though, it's still in the database as <, just when
it's read out again.. it don't work!

I want to be able to call a random image script in PHP from the content
that's stored in the DB.

How do I do this?


Thanks

Tim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация