%@ LANGUAGE = "VBScript" %> <% 'Option Explicit %> <% productid=valid_sql(request.querystring("productid")) if productid=null or productid="" or not(isnumeric(productid)) then response.redirect("error.asp?msg=" & Server.URLEncode("We have no record of the product you are looking for.")) end if 'get the relevant products details set rsprod=db.execute("SELECT * FROM products INNER JOIN categories ON products.catcode = categories.catcode WHERE productid = " & productid) if rsprod.eof then response.redirect("error.asp?msg=" & Server.URLEncode("We have no record of the product you are looking for.")) end if 'get names and codes of all products in that category set rscatlist=db.execute("select name,productid from products where catcode=" & rsprod("catcode") & " order by name") %>
|
|||||||||||||||||||||||||||||||||||||||||||||
For
any information and queries please mail to: Webmaster For bulk orders e-mail at shopping@singaporeshoppingmall.com |
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
Copyright 2003. Singapore Business Guide. All right reserved. |