i have mp3 search site and when searching files with space theres no results found.. when searching 'florida whistle' give me this result http://www.mydomain.com/search.php?q=florida%20whistle my question is how to make url become like this http://www.mydomain.com/search.php?q=floridawhistle
badly needed help
Started on the old forum in March 2013 · view the original in the archive · old links redirect here
baki wrote: how to make url become like this http://www.mydomain.com/search.php?q=floridawhistle
Search for "floridawhistle"
baki wrote: i have mp3 search site and when searching files with space theres no results found.. when searching 'florida whistle' give me this result http://www.mydomain.com/search.php?q=florida%20whistle my question is how to make url become like this http://www.mydomain.com/search.php?q=floridawhistle
I don't understand why you would want to do this. But its virtually impossible except with the help of JS. However, you can use your usual $_GET global to get the query and substitute spaces with null. That's a server side solution.
baki wrote: i have mp3 search site and when searching files with space theres no results found.. when searching 'florida whistle' give me this result http://www.mydomain.com/search.php?q=florida%20whistle my question is how to make url become like this http://www.mydomain.com/search.php?q=floridawhistle
brother you have to add a function urlencode and decode its helpful for you search on Google and if this function is works say thanks to me