$sql_lesson = "SELECT * FROM `es_lesson_list`";
$query_lesson = mysqli_query($con,$sql_lesson);
$num_lesson = mysqli_num_rows($query_lesson);
?>
$sql_lesson_1 = "SELECT * FROM `es_user_login`";
$query_lesson_1 = mysqli_query($con,$sql_lesson_1);
$num_lesson_1 = mysqli_num_rows($query_lesson_1);
?>
$sql_lesson_2 = "SELECT * FROM `es_user_login` WHERE `is_active` = '1'";
$query_lesson_2 = mysqli_query($con,$sql_lesson_2);
$num_lesson_2 = mysqli_num_rows($query_lesson_2);
?>