Problem with PHP and an HTML Form
I've built a small CMS for a client where they can update information on a page. Everything works fine, except for one problem. One of the fields they can update is a link. The first time the information is entered (such as <a href="http://www.gigantic.com/gigantic/default.aspx" target="_blank">GIGANTIC</a>) everything is good and the info is entered into the MySQL database properly and shows up on the web page properly. The problem lies when they go to edit this information. It seems that when the info is pulled out of the database to display on the Admin page for them to edit there is a problem displaying the link inside of the VALUE field for this item. In the code it looks like it should (value="<a href="http://www.gigantic.com/gigantic/default.aspx" target="_blank">GIGANTIC</a>" />. BUT, the HTML apparently assumes the " after <a href= is the end of the VALUE filed and the rest of the information is not included in the field for editing. So I need to figure out to how put the code for a link into a VALUE field to avoid this. I hope this make sense. Any suggestions or help would be greatly appreciated. Thank you very much.