adamjones Posted February 21, 2009 Share Posted February 21, 2009 Hi. I'm not sure what it's called, but an example of it could be a profile for a website, and you type in the address with a username eg; site.com/profile/username And it would bring up a specific page for that user? How could I achieve this, or does anyone know of any tutorials out there for this? My table layout is just a simple one with 'id', 'username' and 'password'. Cheers! Link to comment https://forums.phpfreaks.com/topic/146288-solved-quick-question/ Share on other sites More sharing options...
genericnumber1 Posted February 21, 2009 Share Posted February 21, 2009 http://www.google.com/search?q=clean+urls+with+mod+rewrite Often, all that's needed is the correct phrasing. You'd use mod_rewrite to redirect site.com/profile/username to something like site.com/profile.php?u=username Link to comment https://forums.phpfreaks.com/topic/146288-solved-quick-question/#findComment-768033 Share on other sites More sharing options...
adamjones Posted February 21, 2009 Author Share Posted February 21, 2009 Thanks Link to comment https://forums.phpfreaks.com/topic/146288-solved-quick-question/#findComment-768034 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.