Re: include statement giving me hives! - help
| From: | Marek Kilimajer | Date: | Thu, 17 Jul 2003 09:42:04 +0000 |
| Subject: | Re: include statement giving me hives! - help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155574@lists.php.net to get a copy of this message | ||
DougD wrote:
I am new to all this, but here is the basic code: $link_titles = file('links/master.txt'); $links_include = $link_titles[$point]; // path to directory include $links_include; If I echo the value of $links_include just prior to the include() function it contains what I would expect it to contain Except it contains newline at the end. Get rid of the newline and it should work.