Hi =GuysI have a product db that sells different product =to different regions.The db looks something =like thisSKU PRODUCTNAME = REGION1 red = = .com;2 = blue = = .com;.com.au;3 = green = .com.au;4 = yellow = =.co.ukAs you can see I am determining the =regions from the HTTP_HOST - [ListMIMEHeaders =name=3DHTTP_HOST][value][/ListMIMEHeaders]I am having a bit of a =problem with the search thoughThis works OK due to =.co.uk[SEARCH =db=3D^data/celmecproducts.db&woREGIONSdatarq=3D.co.uk®IONword=3D=ww®IONSwbrk=3D;]But if I use .com the green =product also shows ( I should only get red & blue)I could do the db in a different format but it =would be nice to get this to work.Any ideas ??Thanks :)---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
|
Hi =GuysI have a product db that sells different product =to different regions.The db looks something =like thisSKU PRODUCTNAME = REGION1 red = = .com;2 = blue = = .com;.com.au;3 = green = .com.au;4 = yellow = =.co.ukAs you can see I am determining the =regions from the HTTP_HOST - [ListMIMEHeaders =name=3DHTTP_HOST][value][/ListMIMEHeaders]I am having a bit of a =problem with the search thoughThis works OK due to =.co.uk[SEARCH =db=3D^data/celmecproducts.db&woREGIONSdatarq=3D.co.uk®IONword=3D=ww®IONSwbrk=3D;]But if I use .com the green =product also shows ( I should only get red & blue)I could do the db in a different format but it =would be nice to get this to work.Any ideas ??Thanks :)---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...