Re: [PHP] Re: Strange result, 1 shows up

2009-04-16 Thread Gary
---Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Thursday, April 16, 2009 2:14 PM To: php-general@lists.php.net Subject: [PHP] Re: Strange result, 1 shows up Perfect, thanks so much. Do you know why the number 1 displayed? Thanks again. ""João Cândido de Souza Neto"

RE: [PHP] Re: Strange result, 1 shows up

2009-04-16 Thread kyle.smith
You're echoing the return value of include(), which is "true", or 1. -- Kyle Smith Unix Systems Administrator -Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Thursday, April 16, 2009 2:14 PM To: php-general@lists.php.net Subject: [PHP] Re: Strange res

[PHP] Re: Strange result, 1 shows up

2009-04-16 Thread Gary
Perfect, thanks so much. Do you know why the number 1 displayed? Thanks again. ""João Cândido de Souza Neto"" wrote in message news:9c.9a.24434.fc477...@pb1.pair.com... > Try using only: include('box.inc.php'); instead of echo > include('box.inc.php'); > > > ""Gary"" escreveu na mensage

[PHP] Re: Strange result, 1 shows up

2009-04-16 Thread Jo�o C�ndido de Souza Neto
Try using only: include('box.inc.php'); instead of echo include('box.inc.php'); ""Gary"" escreveu na mensagem news:63.c9.24434.0b377...@pb1.pair.com... > When I insert this code into a page, I get a 1 show up. Can anyone explain > that and tell me how to get rid of it? > > Thanks for your h