December 10, 201411 yr 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...
December 16, 201411 yr 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
December 17, 201411 yr Author 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
December 17, 201411 yr Author 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?
December 17, 201411 yr 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?
December 17, 201411 yr Author 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?
January 6, 201510 yr 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>
Create an account or sign in to comment