I built a simple form where a user can enter and post news items to his
site (with PHP, into MySQL). He doesn't know much HTML.
Is there some way he can enter some simple text to declare something a
hyperlink, and have PHP recognize that that means "make this text into a
hyperlink"?
....so that instead of having to type this into the textarea:
<a href="http://www.somesite.co m">somesite</a>
....he could type something more intuitive, like this:
<somesite.com>s omesite</somesite.com>?
Maybe there's a better way even than I'm explaining. Any help is
appreciated.
--Mike
site (with PHP, into MySQL). He doesn't know much HTML.
Is there some way he can enter some simple text to declare something a
hyperlink, and have PHP recognize that that means "make this text into a
hyperlink"?
....so that instead of having to type this into the textarea:
<a href="http://www.somesite.co m">somesite</a>
....he could type something more intuitive, like this:
<somesite.com>s omesite</somesite.com>?
Maybe there's a better way even than I'm explaining. Any help is
appreciated.
--Mike
Comment