bentuinstra
Joined: 12 Sep 2004
Posts: 29
Posted: 2005-03-24 14:33
Back to top
Reply with quote
|
Hi All,
Found out that it is possible to set the background color of a filed with:
| Code: |
'colattrs' => 'bgcolor = "lime"',
|
Now I would like to do something like this:
| Code: |
$file = '/Windows/bedrukkingen/$value.pdf';
'colattrs' => 'bgcolor = `if (file_exists($file)){echo "lime";} else { echo "white";}`', |
Is this possible and what would be the syntax (the above example is not working ;-)
Cheers Ben
|
|
Post new topic
Reply to topic
|
|
|