method to output html code
Posted: Tue Feb 02, 2010 9:19 pm
Hi all,
Looking for suggestions on how to output and display html code. I want to write a script to call variables from a mysql db and then output html code that can be pasted into, say, craigslist.
I initially thought to approach this like producing an xml document, by echoing a series of strings and using or . However I'm wondering if there are better ways to do this, like using ob or something else. I've just never encountered this before.
I searched the forums a few times but didn't come up with any similar threads. Any help?
Looking for suggestions on how to output and display html code. I want to write a script to call variables from a mysql db and then output html code that can be pasted into, say, craigslist.
I initially thought to approach this like producing an xml document, by echoing a series of strings and using
Code: Select all
<pre>Code: Select all
<code>I searched the forums a few times but didn't come up with any similar threads. Any help?