[PHP] Strange 1 after include

2002-09-23 Thread César Aracena
Hi all, I’m wondering why does a number 1 appears in the output after the included text has been showed. I have a menu file for including and I just put ?=include(“menu.inc”)? but then the output shows: Back to Index 1 and I don’t have that number in either my script nor my include file. If

Re: [PHP] Strange 1 after include

2002-09-23 Thread Chase Urich
?=include(“menu.inc”)? tells PHP to echo out the result of include(“menu.inc”), which just happens to be a success code (1). The second for simply includes the file without echoing out anything. Chase On Mon, 2002-09-23 at 02:45, César Aracena wrote: Hi all, I’m wondering why does a number