The below code only returning the second echo and if I remove && $fetch_desc = mysql_fetch_array($select_desc) then first echo is working else only second echo is displaying.
Any clue how to handle this? Thanks.
$select_name = mysql_query("query1");
$select_desc = mysql_query("query2");
while($fetch_name = mysql_fetch_array($select_name) && $fetch_desc = mysql_fetch_array($select_desc)){
echo $fetch_name['field_value'];
echo $fetch_desc['field_value'];
}
mysql_*functions as they are deprecated.mysql_*functions these days?