I have written this code`
$serial_no = 1;
while($rowss = mysqli_fetch_array($selectQuery))
echo $rowss['work_date'];
$mauzaNameQry = mysqli_query($conn,"select moza_name from moza_names where mauza_id =1");
echo mysql_error();
$mauzaNameRslt = mysqli_fetch_array($mauzaNameQry);
`echo $rowss['work_date'];
`
it does not return me anything in $rowss[] array when I write another query of select inside loop as I have written above select query inside while loop which selects data from moza_name table. $rowss[] shows data if I remove inside query of moza_name table. It even doesn't show any error's.