[FX.php List] Access text formating of a filemaker text field

DC dan.cynosure at dbmscan.com
Thu Mar 9 11:21:56 MST 2006


try smarty as a general solution to this problem. it helps you keep 
formatting commands where they should be... in an HTML template file and 
*not* in your database. it is very easy to download and install and even 
has a good crash course to help you get started.

you'll be glad you did.

http://smarty.php.net
http://dbmscan.com/snippets/?cat_select=FX_and_Smarty&show=Basic_Example

dan


Andy Gaunt had written:
> Deborah,
> 
>  
> 
> You could use the GetAsCSS ( Your Field ) function.
> 
>  
> 
> This would require you to create a calculated field of your main field 
> and then reference this in your FX.PHP.
> 
>  
> 
> However, while this is great for formatting, if you have any links 
> inside your text field you will need to add to your calculation to not 
> have these break.
> 
>  
> 
> GetasCSS will convert an <a href=”link”> to  &lt;a href=&quot;link&quot;&gt;
> 
>  
> 
> Please note that your resulting code will also start to get messy as it 
> will use a lot of FONT tags etc.
> 
> Andy Gaunt
> T: 407.810.4722
> andy at fmpug.com <mailto:andy at fmpug.com>
> http://www.fmpug.com <http://www.fmpug.com/>   
> 
> Recipient of FileMaker’s 2005 “Mad Dog” Public Relations Award
> 
> For chapter locations, dates & times please visit the website at 
> http://www.fmpug.com <http://www.fmpug.com/> If you can make it to a 
> meeting, please RSVP at http://www.fmpug.com/rsvp.php
> 
> ------------------------------------------------------------------------
> 
> *From:* fx.php_list-bounces at mail.iviking.org 
> [mailto:fx.php_list-bounces at mail.iviking.org] *On Behalf Of *Debabrata Pati
> *Sent:* Thursday, March 09, 2006 6:40 AM
> *To:* fx.php_list at mail.iviking.org
> *Subject:* [FX.php List] Access text formating of a filemaker text field
> 
>  
> 
> Hi All
> 
> Is there any way to access text formating of a filemaker text field
> in FileMaker DB through fx.php or any other way?
> 
> Please help me if there is any way.
> 
> Thanks in advance....
> 
> Debabarata.
> 
> -- 
> Regards
> Debabrata Pati
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list