I have a database that's storing some php script files (sort of an "knowledge base" operation) in a text field. When I pull up a record from MySQL and display the field that has the php code in it, the PHP processor begins parsing them (at least I think that's whats happening)...maybe its just the HTML in the code being processed. Anyway, I've hacked around with addslashes, and stuff, also tried putting <pre> and </pre> before & after the field that contains the source listing but still they don't display as plain text--which is what I'm after.
Can anyone offer me a tip on how to finesse this problem?
Thanks