Graeme McGilvray
asked on
An ASP query I cannot work out...
Hey all, im having a mind blank on how to make this work...
The SERVER_NAME is www.youthtraveller.com.au or youthtraveller.com.au
brand_web is youthtraveller.com.au
How do I get brand_web to see that being www. or not doesnt matter??
Set SubDomain=oConnAE.Execute("SELECT * FROM brands WHERE brand_web='"&Request.ServerVariables("SERVER_NAME")&"'")
The SERVER_NAME is www.youthtraveller.com.au or youthtraveller.com.au
brand_web is youthtraveller.com.au
How do I get brand_web to see that being www. or not doesnt matter??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER