Home How can I have scrollbar like facebook notication?
Reply: 0

How can I have scrollbar like facebook notication?

Gerard Mendiola
Gerard Mendiola Published in 2017-12-08 00:52:12Z

Here's my code in php for the notification

if($_POST["view"] != ''){
    mysqli_query($conn,"update `delivery` set seen_status='1' where seen_status='0'");

$query=mysqli_query($conn,"select * from `delivery` where seen_status = '1' order by post_id desc");
$output = '';

if(mysqli_num_rows($query) > 0){
while($row = mysqli_fetch_array($query)){
$output .= '
    <a href=""><br>
     <small><em> Code: '.$row["code"].'</em></small><br>
     <small><em> Status: '.$row["deliver"].'</em></small>

$output .= '
<li><a href="#" class="text-bold text-italic">No Notification Found</a></li>';

and everytime I put css for scrolldown and input in the div class/id, what happen is every row will have scrolldown instead of one scrolldown for all rows

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.345653 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO