I am implementing a filter to my search interface that allows a user to display results that have been added within the past 10 days. My program brings back an output, but it's only one when there are at least 3 values in my database that would fit the filter. Is there something I need to change in my code in order to get it to output ALL values that the select statement applies to?
The ResultSet is capable of containing more than one row... but you have to call next() more than once to access the other rows. Usually this is done with a while statement. Simply change your code here:
posted 1 week ago
worked really well
This will take every ounce of my mental strength! All for a tiny ad: