Skip to content

Tag: mysql

How to get entry from MYSQL depending on the entered url?

What I want to achieve is something like Wikipedia is using: You enter “” into your browsers search bar and wikipedia shows you the article for “Stack_Overflow”. I know I could do something using php’s GET and but I’d like to know how wikipedia’s solution works. Answer You need to rewrite ALL to index.php or router.php. So in your