id can be any autoincremented or unique numerical column you have...
I have snippets of Html stored in a table. Not entire pages, no tags or the like, just basic formatting.
I would like to be able to display that Html as text only, no formatting, on a given page (actually just the first 30 - 50 characters but that's the easy bit).
able to display that Html as text only, no formatting, on a given page (actually just the first 30 - 50 characters but that's the easy bit).How do I place the "text" within that Html into a string as straight text?
How do I place the "text" within that Html into a string as straight text?
So this piece of code.
<b>Hello World.</b><br/><p><i>Is there anyone out there?</i><p>
So this piece of code.
<b>Hello World.</b><br/><p><i>Is there anyone out there?</i><p>
Becomes:
Becomes:
Hello World. Is there anyone out there?