Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP passing requested post id and title in url but not showing id in the url Reply To: PHP passing requested post id and title in url but not showing id in the url

#146405
Jochim
Participant

You need a unique value to search by. If the title is not unique, you run the risk of retrieving the wrong article.

Ok, so now I have it set up to look for post_url in the database, which is unique.. So to make an index for it I just press the Primary Key button next to post_url in phpMyAdmin?