Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
pageEncoding="ISO-8859-1"%>
<%@ page import="java.sql.*" %>
<% String uname="";
String uaddress="";
String ucontact=""; %>
<html>
<head>
<title>KVCH Noida</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div>
<div id="header">
<%
String uemail=session.getAttribute("uemail").toString();
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/qms","root","");
PreparedStatement ps=conn.prepareStatement("select * from register where email=?");
ps.setString(1, uemail);
ResultSet rs=ps.executeQuery();
while(rs.next())
{
uname=rs.getString(2);
ucontact=rs.getString(4);
uaddress=rs.getString(5);
}
}
catch(Exception e)
{
out.write("Sorry..");
}
%>
<h1><% out.write(uname); %></h1>
</div>
<div id="content">
<div id="rightbar">
<ul id=usermenu>
<li><a href="userhome.jsp">profile</a></li>
<li><a href="add-record.jsp">Add Record</a></li>
<li><a href="manage-record.jsp">Manage Record</a></li>
<li><a href="search-record.jsp">Search Record</a></li>
<li><a href="complete-record.jsp">Complete Record</a></li>
<li><a href="change-password.jsp">Change Password</a></li>
<li><a href="logout.jsp">logout</a></li>
</ul>
</div>
<div id="leftbar">
<!-- <form action="addquery.jsp" method="post"> -->
<center>
<table border=10 width="500px" style="margin-top: 20px;">
<tr>
<th>NAME</th>
<td><input type="text" name="name" id="name" ></td>
</tr>
<tr>
<th>Email</th>
<td><input type="text" name="email" id="email" ></td>
</tr>
<tr>
<th>Contact</th>
<td><input type="text" name="contact" id="contact" ></td>
</tr>
<tr>
<th>Address</th>
<td><textarea rows=5 cols=20 name="address" id="address" ></textarea></td>
</tr>
<tr>
<th>Problem</th>
<td><input type="text" name="problem" id="problem" ></td>
</tr>
<tr>
<th>Description</th>
<td><textarea rows=5 cols=20 name="desc" id="desc" ></textarea></td>
</tr>
<tr>
<th>Tent. Date</th>
<td><input type="date" name="tent_date" id="tent_date" ></td>
</tr>
<tr>
<th></th>
<td><input type="button" id="btn" value="ADD RECORD" /></td>
</tr>
</table>
</center>
<!-- </form> -->
</div>
</div>
<div id="footer">Footer</div>
</div>
</body>
</html>
<script src="js/jquery.js"></script>
<script>
$("document").ready(function(){
$("#btn").click(function(){
var name=$("#name").val();
var email=$("#email").val();
var contact=$("#contact").val();
var address=$("#address").val();
var problem=$("#problem").val();
var desc=$("#desc").val();
var tent_date=$("#tent_date").val();
//alert(name+email+contact+address+problem+desc+tent_date);
$.post("addquery.jsp",{name:name, email:email, contact:contact, address:address, problem:problem, desc:desc, tent_date:tent_date},function(data){
alert(data);
});
});
});
</script>
![]() |
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team