[PHP] include-ing results in variable?

2001-10-27 Thread Nathaniel Merriam
This is what I'm trying to do, and I think I'm just missing some logic in how to think like PHP. I have a global included file (global.inc) where I set up variables, open the database, etc, and I include it in the header of every HTML file on the site. One thing I would like to set as a

[PHP] Re: include-ing results in variable?

2001-10-27 Thread Nathaniel Merriam
Thanks for your help, I've got it working now (I think!). You're right, I had an echo at the bottom of the included script and I think was loathe to mess with it since I spent about 12 hours getting that one to work! I had read the man page for include -- even the example with the return! --