<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1025011" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1025011</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-i-do-php#comment-1152565</link>
    <description> &lt;p&gt;Simple solution would be what MANY sites do, it follows off Busy suggestions...&lt;/p&gt;
&lt;p&gt;Have your index.php just be a switch for $_GET[&#039;page&#039;].&lt;/p&gt;
&lt;p&gt;Now with that variable place it as an include to the proper page file and create a string for the page title.&lt;/p&gt;
&lt;p&gt;Example&lt;br /&gt;
switch ($_GET[&#039;page&#039;]){&lt;br /&gt;
case &quot;coffee&quot;;&lt;br /&gt;
//Call the coffe page/query&lt;br /&gt;
include_once(&#039;/pages/coffee.php&#039;);&lt;br /&gt;
$mypagetitle = &quot;Beans &amp;gt; Coffee&quot;;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Now you would then just place that switch in the middle of the common design elements like your header and menues.&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Jun 2004 23:37:20 +0000</pubDate>
 <dc:creator>ShaneS</dc:creator>
 <guid isPermaLink="false">comment 1152565 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-i-do-php#comment-1152434</link>
    <description> &lt;p&gt;I&#039;d be very careful of using folder names in your url, it&#039;s asking for trouble.&lt;/p&gt;
&lt;p&gt;Set your database up so you have parents and children categories, something like ?page=coffeebreak would get the page that deals with the coffeebreak and on the page displayed would also get the parent category so it looked something like Whattodo &amp;gt; coffeebreak&lt;/p&gt;
 </description>
     <pubDate>Mon, 31 May 2004 22:05:55 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1152434 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
