Joined
Last Seen
-2 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: [code]<% Connection con = null; String url = "jdbc:mysql://192.168.10.211:3306/";; String db = "amar"; String driver = "com.mysql.jdbc.Driver"; int rows = 0; try{ Class.forName(driver); con = DriverManager.getConnection(url+db,"amar","amar123"); try{ Statement st = con.createStatement(); String query = "select count(*) from user_Register"; ResultSet rs = st.executeQuery(query); while (rs.next()) { rows =rs.getInt(1); %>[/code] i hope … |
The End.