This topic is locked

How to Change the font color at runtime>>?

11/3/2008 3:47:24 AM
PHPRunner General questions
R
rockrockers23 author

HI,.. i have knowledge about HTML, CSS PHP and a little about Javascript.>>
i have a STATUS field Name in mY Table Billing... which consist of "Paid and Unpaid" text.
THE PROBLEM :

how will i going to Change the Font Color the Retrieved row that has a STATUS of 'UNPAID'.? because i want to change it in color RED..

Or Where can i LOCATE THE EVENt the hold this PROCESS so that i can manually Change the Font Color>>?

T
thesofa 11/3/2008

try this

and this too

R
rockrockers23 author 11/6/2008

try this

and this too




yO thanx a lot.
.>>
myNEXT PROBLEM IS THAT :

HOW WILL I ABLE TO EXCLUDE IN THE TOTAL THE RECORDS THAT ARE ALREADY PAID?

STATUS fieldName consist of PAID AND UNPAID in my BILLING table...

Then i only want to display the TOTAL amount of the records that are UNPAID> BUT STILL I DISPLAYING THE PAID BILLS? is that possible ?..

R
rockrockers23 author 11/6/2008

try this

and this too




yO thanx a lot.
.>>
my NEXT PROBLEM IS THAT :

HOW WILL I ABLE TO EXCLUDE IN THE TOTAL THE RECORDS THAT ARE ALREADY PAID?

STATUS fieldName consist of PAID AND UNPAID in my BILLING table...

Then i only want to display the TOTAL amount of that RECORDS THAT are UNPAID>BUT STILL DISPLAYING THE PAID BILLS is that possible ?..

T
thesofa 11/6/2008

you need a bit of custom code somewhere that says something like sum(bill total) where status ==unpaid, but I cannot work out where to put it, try an email to support?

J
Jane 11/6/2008

Hi,
yes it's possible.

But tis task requires some custom coding and events on the Events tab.

Publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages and I'll try to help you to write proper code.