How can I create a dynamic URL in php?
I am new in PHP and MySQL. Here's what I've tried so far and I can't understand how to make URL with PHP. What I want to do is to create a dynamic web page about a particular book. I already created and have some data in my MySQL database to play with. I've got a function to clear the special characters in the book titles. function seo($s) { $tr = array('ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','Ç','ç'); $eng = array('s','s','i','i','g','g','u','u','o','o','c','c'); $s = str_replace($tr,$eng,$s); $s = strtolower($s); $s = preg_replace('/&.+?;/', '', $s); $s = preg_replace('/[^%a-z0-9 _-]/', '',