wizzard
Dec 7th 2006, 1:31 am
Hello,
I'm working via modrewrite to pass this:
http://www.test.com/profile/123_text.html
http://www.test.com/profile/text.html
It goes toe prfile.php?id=123_text or prfile.php?id=text
Now in my prfile script i want something that grabs out the 123 out of the id till the _ char.
When there is no 123_ or 454_, ... then it must let the id like it is.
Can someone helps me in here ?
Ow and i'm sorry for my very bad english :(
Cheers
Kris
I'm working via modrewrite to pass this:
http://www.test.com/profile/123_text.html
http://www.test.com/profile/text.html
It goes toe prfile.php?id=123_text or prfile.php?id=text
Now in my prfile script i want something that grabs out the 123 out of the id till the _ char.
When there is no 123_ or 454_, ... then it must let the id like it is.
Can someone helps me in here ?
Ow and i'm sorry for my very bad english :(
Cheers
Kris