Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  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
Post new topic   Reply to topic    
 
t22harris     Joined: 19 Mar 2009   Posts: 15  
Post Posted: 2009-05-17 23:25
Back to top  Reply with quote     

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?


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


 
t22harris     Joined: 19 Mar 2009   Posts: 15  
Post Posted: 2009-05-18 16:10
Back to top  Reply with quote     

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.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy