function checkForm() {
var isValid = true;
$('.checkText').each(function(i,elem) {
if ($(this).val().length == 0) {
isValid = false
}
});
return isValid;
}
...var i=plyr.setup({debug:!0,title:"Video demo"...
$('button').parent('a').css('border': 'red');
$search = 1;
$found = null;
while (!$found && $user = each ($users)) {
echo $user[0] . "\t - \t" . $user[1] . "<br><br>\n\n";
if ($user[0] === $search) {
$found = $user;
}
}
echo $fetched_data['SUM(views)'];
// замени на
echo $fetched_data['user_id'] . "\t-\t" . $fetched_data['SUM(views)'] . "<br>\n";