Newbies Emery Posted November 11, 2009 Newbies Posted November 11, 2009 (edited) Can anyone please help with this which sounds simple...? I am displaying record details of a FileMaker record using php api. I would like one of the fields in a record to be a hyperlink to the field's contents which is a URL of a pdf document. This is my base code without the appropriate hyperlink. The actual FMP field name of the URL is httpForm. <?php echo $record->getField('Form'); ?> Edited November 12, 2009 by Guest
jonathanstark Posted November 28, 2009 Posted November 28, 2009 It's not clear from you question whether or not you are storing the raw HMTL in FileMaker or if you are trying it compose it in the PHP based on FileMaker data. If you are storing HTML in FileMaker, you need to use getFieldUnencoded() instead of getField().
Peter (duksis3) Posted November 28, 2009 Posted November 28, 2009 Make a calculation containing all necessary PHP scripting for links. Publish this field via PHP API and you get result - link
bobthedog Posted January 25, 2010 Posted January 25, 2010 @jonathanstark Just wanted to say thanks for the tip about accessing unformated data through PHP. That was great and really helped me.
Recommended Posts
This topic is 5754 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