<% catID = request("cat") set rs = server.createobject("ADODB.Recordset") sql = "SELECT cat_pic,cat_name,keywords,description FROM categories WHERE id=" & catid rs.open sql,oconn if not rs.eof then categoryName = rs("cat_name") categoryImage = rs("cat_pic") keywords = rs("keywords") description = rs("description") else categoryImage = "none.jpg" end if rs.close %> <%= categoryName %> <% response.write("" & vbCrLf) response.write("") %>
   
 

 

Home
  Wave Solder Pallets
  Workboard Holders
  Process Carriers
  Conformal Coat
Fixtures
  Composite Material
  Custom Fixtures
   
  Stencil Cleaners
  Inline Cleaners
  Batch Cleaners
  Custom Applications
   
  About EMC
  Contact EMC
  Sales Reps

 


<% catID = request("cat") set rs = server.createobject("ADODB.Recordset") sql = "SELECT cat_pic,cat_name FROM categories WHERE id=" & catid rs.open sql,oconn if not rs.eof then categoryName = rs("cat_name") categoryImage = rs("cat_pic") else categoryImage = "none.jpg" end if rs.close %>

<%= categoryName %>

<% sql = "SELECT * FROM products where cat_id=" & catID rs.open sql,oconn if not rs.eof then colCount = 1 response.write("") do while not rs.eof imageName = rs("productThumb") if imageName = "" or isnull(rs("productThumb"))then imageName = "none.jpg" end if response.write("") colCount = colCount + 1 rs.movenext if not rs.eof then if colCount > 3 then colCount = 1 response.write("") end if else response.write("") end if loop end if rs.close set rs = nothing oconn.close %>
     
") response.write("
") response.write("" & rs("productName") & "
 

 

 


Questions and Comments
Copyright © 2002, © 2003 EMC Global Technologies, Inc. All Rights Reserved.
Read our Privacy Policy | Site and hosting by Reggie's PC Resources, LLC