fetching more than one row with long blob type through an exception called java.io.eofexception in andriod
0
selecting more than one row from database through an exception java.io.EOFException: source exhausted prematurely in andriod please note that my image column is longblob I send the result to andriod code Please note again if I fetched any column with type int or var char it works correctly, longblob through this exception. this is my php code <?php require "conn.php"; $aa =$_POST["cid"]; $mysql_qry = "select * from cities where ID = '$aa'"; $result = mysqli_query($conn,$mysql_qry); $FinalArr = array(); $UserData ="-1"; $count =0; $mysql_qry2 = "select * from images "; $result2 = mysqli_query($conn,$mysql_qry2); while ( $row2 = mysqli_fetch_array($result2)) { if($row2["cityID"] == $aa) ...