<?=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 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 > I put: > > <? > Include (“menu.inc”); > ?> > > it shows normally without the 1… Why is that? > > Thanks, > > Cesar Aracena <mailto:[EMAIL PROTECTED]> > On Dial-Up > CE / MCSE+I > Neuquen, Argentina > +54.299.6356688 > +54.299.4466621 > -- PGP Fingerprint = CE24 057D 1E88 A253 3196 89DB 9FF0 9EF0 2F70 8BE8
signature.asc
Description: This is a digitally signed message part