Digital Life Posted April 12, 2010 Posted April 12, 2010 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.
fmbiz.net Posted July 21, 2010 Posted July 21, 2010 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.
Genx Posted July 21, 2010 Posted July 21, 2010 Use getFieldUnencoded(); getField() will HTML encode the string, getFieldUnencoded() will not -- this is a security feature.
Recommended Posts
This topic is 5578 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now