jtzako
Založený: 12.01.2017
Príspevky: 16
Zaslal: 2018-11-29 19:00
Návrat hore
Odpovedať s citátom
|
I want to run some php code and have the output of that displayed in a field location (perhaps a virtual field?).
I saw in the documents there is a 'php' option that is supposed to include/execute a php file. However, when I try to use it, it just gives an SQL error.
Am I using this wrong? How do I make this work?
$opts['fdd']['myfield'] = array(
'name' => 'W',
'sql|VLF' => '',
'select' => 'R',
'options' => 'VLF',
'escape' => false,
'sort' => false,
'php' => 'myfile.php'
);
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|