| Index
» Projekty
» phpMyEdit
» Fórum
» php option |
 |
msavi
Založený: 26.01.2010
Príspevky: 10
Zaslal: 2010-07-11 12:47
Návrat hore
Odpovedať s citátom
|
I am setting up a dummy field which reads a php file. below is the dummy field code
$opts['fdd']['dummy'] = array (
'name' => 'Last',
'options' => 'LVF',
'select' => 'M',
'sort' => true,
'sql' => "CONCAT(member,',',firstname)",
'php' =>'info.php'
);
now the php code pulls out data and inserts it into the dummy field but there is always an extra 1 in the field. i can not figure out where it is coming from. now even if i make the php file blank it still inserts a one.
any suggestions?
thank you
|
t22harris
Založený: 19.03.2009
Príspevky: 15
Zaslal: 2010-10-01 21:11
Návrat hore
Odpovedať s citátom
|
You need to put a
return
on the last line of your php code.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|