Jump to content
Server Maintenance This Week. ×

Issues in filemaker & PHP Integration


mhari

This topic is 6051 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 weeks later...

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 by Guest
Link to comment
Share on other sites

This topic is 6051 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.