Jump to content

Re-writing URL's. Need some help PHPFreaks! :)


virtuexru

Recommended Posts

Hey guys,

 

Haven't been on the site for awhile. Been doing some freelance work with C#. Now I'm back into some PHP/MySQL development and need a little help.

 

I currently have a PHP page that calls information like this:

 

http://*****.com/inventory.php?id=6026&m=TOYOTA&md=CAMRY

 

I want it re-written so that it show's up like this:

 

http://*****.com/inventory/toyota/camry/6026

 

or

 

http://*****.com/cars/toyota/camry/6026

 

Can anyone help me out on how to do key in on this? I know I have to do it through .htaccess. Any help would be greatly appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.