rs.getString(2)
To get the second value from the select statement, you need to select 2 or more in your statement. Right now, your PreparedStatement is selecting a single column.
Type: Posts; User: copeg
rs.getString(2)
To get the second value from the select statement, you need to select 2 or more in your statement. Right now, your PreparedStatement is selecting a single column.