Welcome Guest, Not a member yet? Register   Sign In
Rewriting ID's to post names or item names
#2

[eluser]Dam1an[/eluser]
When you create the URL (eg anchor) you simple pass the paramter to be the name of the object, not the ID
The downside of this is the name needs to be unique (which is fine if you're using usernames)
You then just do a lookup in the database for that row


Messages In This Thread
Rewriting ID's to post names or item names - by El Forum - 05-01-2009, 05:05 AM
Rewriting ID's to post names or item names - by El Forum - 05-01-2009, 05:20 AM
Rewriting ID's to post names or item names - by El Forum - 05-01-2009, 05:35 AM
Rewriting ID's to post names or item names - by El Forum - 05-01-2009, 05:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB