AngeloCit Posted December 10, 2014 Posted December 10, 2014 hi, i have a INPUT that has special format FILEMAKER 13 as might make PHP take the same format? and that save register from PHP also in FileMaker the same format display? Thanks...
Bob Minteer Posted December 16, 2014 Posted December 16, 2014 I am sorry, I'd love to answer your question, but it does not appear to make sense to me. Do you care to elaborate ? --Bob
webko Posted December 17, 2014 Posted December 17, 2014 What Bob said - I cannot make out what you are actually trying to achieve....
AngeloCit Posted December 17, 2014 Author Posted December 17, 2014 What Bob said - I cannot make out what you are actually trying to achieve.... filemaker have a field that has special formatting, such as bold, line breaks, etc. and I would keep that format with PHP API, because the display in a browser only shows the linear text
Wim Decorte Posted December 17, 2014 Posted December 17, 2014 Perhaps if you have a GetAsCSS version of the same field and fetch that?
AngeloCit Posted December 17, 2014 Author Posted December 17, 2014 Ok, is now well: <textarea id='editor{$x}' cols='90' rows='18'>".htmlspecialchars_decode(nl2br($record->getField('TEXTO BIOPSIAS 2::TEXTO')))."</textarea> and should look like: <textarea id='editor{$x}' cols='90' rows='18'>".htmlspecialchars_decode(nl2br($record->getField->getAsCSS('TEXTO BIOPSIAS 2::TEXTO')))."</textarea> so or am in error?
Wim Decorte Posted December 17, 2014 Posted December 17, 2014 Ok, is now well: It may be a language thing; but are you asking if the code or ok or saying that it works now?
AngeloCit Posted December 17, 2014 Author Posted December 17, 2014 It may be a language thing; but are you asking if the code or ok or saying that it works now? sorry, only speak in spanish... my question is: how to use the function getAsCSS?
webko Posted January 6, 2015 Posted January 6, 2015 You will need a new calculation field TEXTO_Css GetAsCss('TEXTO') In the database, and then display that field in the PHP: <textarea id='editor{$x}' cols='90' rows='18'>".htmlspecialchars_decode(nl2br($record->getField('TEXTO BIOPSIAS 2::TEXTO_Css')))."</textarea>
Recommended Posts
This topic is 3866 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