This is a discussion on Issue with Require() within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello, I'm running into trouble with require. I have a class that I need to include and I'm ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I'm running into trouble with require. I have a class that I need to include and I'm using require to load the proper file. The code is included all right but the content of the file is displayed and not executed. I must be missing something real simple. Any pointers for a rusty php coder? Regards, P |
|
|||
|
On 30-Jan-2004, "Someone out there..." <someone@outthere.com> wrote: > I'm running into trouble with require. I have a class that I need to > include > and I'm using require to load the proper file. The code is included all > right but the content of the file is displayed and not executed. I must be > missing something real simple. Any pointers for a rusty php coder? did you forget the <?php and ?> tags in the included file? -- Tom Thackrey www.creative-light.com tom (at) creative (dash) light (dot) com do NOT send email to jamesbutler@willglen.net (it's reserved for spammers) |
|
|||
|
Hello,
"Tom Thackrey" <use.signature@nospam.com> wrote in message news:TDySb.19709$_K3.17439@newssvr25.news.prodigy. com... > > > I'm running into trouble with require. I have a class that I need to > > include > > and I'm using require to load the proper file. The code is included all > > right but the content of the file is displayed and not executed. I must be > > missing something real simple. Any pointers for a rusty php coder? > > did you forget the <?php and ?> tags in the included file? Nope, tags are included in the file. :o( P |