April 12, 201015 yr I want to store link text similar to this in a text field and then have it work on a web page: Any suggestions would be appreciated. Thanks.
July 21, 201015 yr The technique you have described can be done, but you will have to escape each of the " characters when storing the HTML markup as a text string. This looks something like: "http:www.page.com" After the code is stored in your database the Web Page can be built dynamically from within a PHP page using the getField() API function and the PHP ECHO command. Hope this helps.
July 21, 201015 yr Use getFieldUnencoded(); getField() will HTML encode the string, getFieldUnencoded() will not -- this is a security feature.
Create an account or sign in to comment