Re: [PHP] getting a variable from a file

2007-03-23 Thread Richard Lynch
On Fri, March 23, 2007 5:47 am, Ross wrote: > I am using a script to generate a sitemap. It displays the page names > (mypage.php) but I want it to display the titles. The page heads and > > are generated dynamically so the line below does not work > > if(preg_match("'(.+)'i", $f, $matches)){ > >

[PHP] getting a variable from a file

2007-03-23 Thread Ross
I am using a script to generate a sitemap. It displays the page names (mypage.php) but I want it to display the titles. The page heads and are generated dynamically so the line below does not work if(preg_match("'(.+)'i", $f, $matches)){ However all the paged titles are stored in a variable $