while($row = mysqli_fetch_array($query)) { //$sql3 =\'select * from description where descid = \'.$row[\'descid\'].\' \'; $query3 = mysqli_que