Current File : /home/obabain/khb_obaba_in/selectQC.jsp
<%@ page language="java" import="java.sql.*" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page import="javax.sql.*"%>
    <%@ include file="Connection.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<section id="main">
			<div class="container">
			 <div class="row">
			<div class="panel panel-default">
          <div class="col-md-8">
<table class="table table-striped" >
<thead>
<tr>
<th>SKU</th>
<th>select</th>
</tr>
</thead>

<tr>
<%
try
{
	
	Statement st=con.createStatement();
	ResultSet rs=st.executeQuery("select * from ip_quality_checker");
	while(rs.next())
	{%>

	<td><%=rs.getString("name") %></td>
	<td><a href="#" onclick="returnYourChoice4('<%=rs.getString("name") %>')" ><img src="img/tick_green.png" height="32" width="32"></a></td>
	
</tr>
<%		
	}
}
catch(Exception el){}
%>


</table>


</div>
</div>
</div>
</div>
</section>
<script type="text/javascript">
    // return the value to the parent window
    function returnYourChoice4(choice){
        opener.setSearchRslt5(targetField,choice);
        window.close();
    }
    </script>
</body>
</html>