|  | Posted by Ron Barnett on 10/07/06 13:54 
"jflash" <ki4hrg@gmail.com> wrote in message news:1160227193.004443.197310@c28g2000cwb.googlegroups.com...
 > Hello all,
 >
 > I feel dumb having to ask this question in the first place, but I just
 > can not figure it out. I am wanting to set my site up using dynamic
 > urls (I'm assuming that's what they're called, an example of what I
 > have in mind is index.php?page=[pagename]). However, I can not figure
 > out how to do this. I will eventually want to use SEF urls, but for now
 > I'll be content just to have the dynamic urls. If anyone can tell me
 > how to do this, I'd really appreciate it. Thanks!
 
 $page = $_REQUEST['page'];
 if ($page == 'pageone') include './lib/pageone.php';
 
 the url ( index.php?page=[pagename] )does not need the square brackets
 note that the parameter names - in this case 'page' is case sensitive
 
 
 HTH
 
 Ron
  Navigation: [Reply to this message] |