Welcome Guest, Not a member yet? Register   Sign In
Problems with spaces and in the URL
#2

[eluser]umefarooq[/eluser]
for your problem there are two solutions if you are making database driven menu then replace space with url helper function - or _ like
Code:
url_title($title);

when getting parameter

srt_replace('_',' ',$title);
here you can see doc http://ellislab.com/codeigniter/user-gui...elper.html

second create column name seo_url in your table and save title in table with same way how your are making in menu then you can directly use that column value in url and take that parameter for query.
Code:
url_title($title);


Messages In This Thread
Problems with spaces and in the URL - by El Forum - 11-17-2009, 07:07 AM
Problems with spaces and in the URL - by El Forum - 11-17-2009, 07:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB