'; } else { $unartist_pic = ''; } $sqlreqch = "SELECT `songID`, `username`, `message` FROM `requests` WHERE `songID`='".$lid."' AND `requested` > NOW() - INTERVAL 3 HOUR LIMIT 1"; $result = mysqli_query($db_conx, $sqlreqch); if (mysqli_num_rows($result) > 0) { while($rinfo = mysqli_fetch_assoc($result)) { $reqsongid = mysqli_real_escape_string($db_conx, $rinfo['songID']); $requsername = mysqli_real_escape_string($db_conx, $rinfo['username']); } } if(!empty($requsername) && ($reqsongid == $lid)){ $reqY = ''; }else{ $reqY = ''; } $upcoming .= '