Results 1 to 2 of 2

Thread: .htaccess and mysql question

  1. #1
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default .htaccess and mysql question

    Say i have a url like this: http://www.domain.com/index.php?id=123&page=Hello

    123 is used to get the id number from the database then display the article.

    well if i use .htaccess rewrite methods to rewrite that url to something like this

    http://www.domain.com/page/Hello

    would the php script still work? or do i still have to have that id number up there somewhere?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Well, unless the Hello was the id and the page. No. I don't think so.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •