Jump to content

PHP custom URL help


Jasonfran

Recommended Posts

Hello, I have a review site and each review is sorted by their ID in a MySQL database. And to view each individual post you goto

viewpost.php?postid=(ID of post)
But is there anyway I could make the URL like

www.mysite.com/the+name+of+the+review
Without having to create a new page for each individual post. I have seen sites like this and I don't know whether they do create separate files but I assume they don't. This forum does it.

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/276934-php-custom-url-help/
Share on other sites

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.