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
August 11, 2013 at 12:12 pm
#146405
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?