Search found 3 matches

by joecanti
Sun Mar 20, 2011 4:14 pm
Forum: PHP - Code
Topic: Formatting empty table cells with php (SOLVED)
Replies: 3
Views: 280

Re: Formatting empty table cells with php

Hi, After digging through the code I found a useful bit in the render section which adds a space as a placeholder, so I dont need to add any more code - all I have done is change the placeholder from the space (&nbsp) to my default text 'classrom free'. Problem sorted :-) Thanks for your origina...
by joecanti
Sun Mar 20, 2011 2:33 pm
Forum: PHP - Code
Topic: Formatting empty table cells with php (SOLVED)
Replies: 3
Views: 280

Re: Formatting empty table cells with php

Hi McInfo,

Thanks for your reply. Yeah, that looks like the sort of thing. I'll have a scan through the code which creates the table and post back here - I'll try to find somewhere where it could go.

Will post back shortly, thanks again for your time, Joe
by joecanti
Sun Mar 20, 2011 1:53 pm
Forum: PHP - Code
Topic: Formatting empty table cells with php (SOLVED)
Replies: 3
Views: 280

Formatting empty table cells with php (SOLVED)

Hi all, I'm looking for some php that I can add to my table in order to format the empty cells. All I want to do is have a litle bit of text come up on all the empty cells which says 'classroom free' or 'not booked' - is there a php comand that deals with this?? I'm using Drupal to output a table - ...