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.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to