Please remove the "&&" and use the "||"
or
Replace the code with following lines
while($fetch_row=mysql_fetch_array($get_stock) || $get=mysql_fetch_array($get_result)){
if(isset($fetch_row))
{
$field2=$fetch_row['field2'];
}
if(isset($get))
{
$field1=$get['field1'];
}
}