Log in

View Full Version : .htaccess and mysql question



benslayton
03-26-2008, 06:09 PM
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?

Nile
03-27-2008, 02:51 AM
Well, unless the Hello was the id and the page. No. I don't think so.