bentuinstra
Založený: 12.09.2004
Príspevky: 29
Zaslal: 2005-03-24 14:33
Návrat hore
Odpovedať s citátom
|
Hi All,
Found out that it is possible to set the background color of a filed with:
| Kód: |
'colattrs' => 'bgcolor = "lime"',
|
Now I would like to do something like this:
| Kód: |
$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
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|