Link to home
Start Free TrialLog in
Avatar of Graeme McGilvray
Graeme McGilvrayFlag for Australia

asked on

An ASP query I cannot work out...

Hey all, im having a mind blank on how to make this work...

Set SubDomain=oConnAE.Execute("SELECT * FROM brands WHERE brand_web='"&Request.ServerVariables("SERVER_NAME")&"'")

Open in new window


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
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Graeme McGilvray

ASKER

ah bugger! thought there might be a cheeky way around it, cheers!