mhari Posted September 25, 2007 Posted September 25, 2007 Hi Filemaker Lovers, I am having the below doubt -- can any one help me please, I am going to create a website in php and which is going to be controled by filemaker CMS application. For this, I have the below doubt, 1. We can able to bold/italic the text selected using the filemaker format options. But, when I am showing this in web via PHP -- it shows the text normally without formatting. Kindly can any one help me please -- how to achieve this ? Thanks in advance.. Hari
Baloo Posted September 26, 2007 Posted September 26, 2007 If you're developing a web site, you need to learn a little HTML and CSS to go along with the PHP. The old school way to put something in italics is to wrap it in the the italics tag this is in italics or this <?=$my_php_variable?> in italics the preferred method these days is to use style sheets in italics on your page and div.italics { font-style: italic; /* other style data */ } in your included style sheet file (project_styles.css). A little googleing should get you a all the help you need
LR Steve Posted October 12, 2007 Posted October 12, 2007 (edited) Create a calculation in your FM table using the GetAsCSS(text) function... where text is the field that contains the formatted entry. In you PHP/FileMaker routines, refer to and display the calculated field. Almost all formatting (Bold, italic, font, color, etc) will display as entered with formatting preserved. Edited October 12, 2007 by Guest
Recommended Posts
This topic is 6519 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