Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  php Expression is adding the number 1 at the end of html

phpMyEdit General     php Expression is adding the number 1 at the end of html
Odoslať novú tému   Odpovedať na tému    
 
t22harris     Založený: 19.03.2009   Príspevky: 15  
Príspevok Zaslal: 2009-05-17 23:25
Návrat hore  Odpovedať s citátom     

It doesn't matter what I make boats.php generate, there is always a "1" added to the end of the text shown in the form. Any idea why?


Kód:
$opts['fdd']['boat_results'] = array(
  'php|CA'  => 'boats.php',
  'name'    => 'Finish Times',
  'maxlen'  => 1024,
  'sort'    => true
);


 
t22harris     Založený: 19.03.2009   Príspevky: 15  
Príspevok Zaslal: 2009-05-18 16:10
Návrat hore  Odpovedať s citátom     

The answer to my question is that the php function is returning a 'true' indication, I guess indicating that it completed OK. When I add a "return;" statement at the end of the included php file then the errant "1" goes away.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov