URL Convertion

I am creating a new site where users can create their own profile. When my page is showing a specific profil the URL would be something like:

mysite.com?profile=543

The integer is of course the unique userid in my database. Now what I want is to be able to let user link to his profile on this form:

mysite.com/username

So the question is: can I/how can I, when the user enters mysite.com/username automaticaly redirect him to the corresponding site: mysite.com?profile=543

View Replies


ADVERTISEMENT

String Convertion

i have a few records sets that i am getting info from a db.
I unsdersnd the sql side and off the top that is not what i am looking for do to db reasons i dont want to get into on this question. So please keep with asp for me.
I need to conver the following from varchar to formatcurrency:

sCK_Total = objRS("Check_Total")
sInd_PMT = objRS("Individual_PMT")

now i am able to do FormatCurrency on the sInd_PMT However when I us it on my sCK_Total I get the following error:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'FormatCurrency'

Both fieds in the db are the same everything about these two variable are the same one is just the total amount for the check and the other is the individual amoutns that will later equal the check amount.

View Replies View Related

Language Convertion

How can i convert my site in to language. Just like http://www.Google.com

View Replies View Related

Convertion Of Text String To Date In ASP

i have a date format d/m/yyyy h:m:s which users pick from a date picker into a text field in a form. But i want to format the contents into this form - d/m/yyyy.

Pls is there a function i can use to achieve this . I tried format(date_field) but it didn't work.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved