Jump to content

72dpi

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

72dpi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi All, I am trying to do simple Search Engine Friendly URLS using Mod Reqwrite. In my .htaccess file I currently have: [code]Options +FollowSymLinks RewriteEngine on RewriteRule index/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /index.php?$1=$2&$3=$4&$5=$6[/code] My a href is: [a href=\"http://www.mysite.com/index/page/a\" target=\"_blank\"]http://www.mysite.com/index/page/a[/a] Index.php is the page, and my switch content is defined as: [code]<?php switch ($page) { case 'a':    echo "page 1";    break; case 'b':    echo "page 3";    break; case 'c':    echo "page 4";    break; default:    echo "default"; } ?>[/code] Where Page is the "switch" variable, and a is the "case" I want to show This is not working for me. My link would usually be: index.php?page=a I also want to be able to do main.php?page=a&menu=1 etc. Does anyone have a good example of how to get this to work?. Every example I have found on the web has not helped me. Any pointers would be awesome!
  2. I'll get cracking on the layout design & color scheme & logo for ya site. That's as far as I can go into AJAX. Here I was thinking AJAX was used to clean dirty sinks heh heh.....
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.