thanks it's already solved. I forgot the give the array a value
Type: Posts; User: A4Andy
thanks it's already solved. I forgot the give the array a value
I change my while statement to
while(rs.next())
{
array=rs.getString(2);
}
but I got an error Type mismatch cannot convert from String to String[]
transferring mysql data to array is my problem
here is the code that I'm playing with
public int i;
public String [] array;
PreparedStatement pstmt = con.prepareStatement("Select * from...
the field type is text
i really have no idea hope you guys can help me