<?php
# what is $page is not number? you did not fix it in the previous lines.
$sql = 'select * from divlink ORDER BY Name ASC Limit '.$page1.', 12';
# is it initialized ->$connect
# is $connect an object of a class? which class?
# Query would create an object of mysqli_result class. Follow the link for better understanding
#http:
$data = $connect->query($sql);
# $data is object of mysqli_result.
#http:
# suggested-> $row = $data->fetch_array()
# extended suggestion: mysqli::result() default resulttype is MYSQLI_BOTH, I would suggest MYSQLI_ASSOC only. It will shorten the war by years and save many lives
while($row = mysqli_fetch_array($data)){
$image = $row['image'];
$Name = $row[0];
$Description = $row[1];
$Price = $row[2];
$ExpirtyDate = $row[3];
$Facebook = $row[4];
$Twitter = $row[5];
$Telegram = $row[6];
$Gmail = $row[7];
$Youtube = $row[8];
$Reddit = $row[9];
$Meduim = $row[10];
$Myetherwallet = $row[11];
$neowallet = $row[12];
$Bitcointalk = $row[13];
$divicon = $row[14];
$kyc = $row[15];
$id = $row['id'];
$Rating = $row[17];
echo "<a href=''><div id='one' class='bordered' width='650px'><img src='{$image}' class='imgss'/><p align='left'><center>{$Name}<br>{$Description}<br>{$Price}</center></p><p align='right'>{$ExpirtyDate}</p><center><img src='{$Rating}'/></center><br><img src='{$Facebook}'width='20' height='20'align='left'><img src='{$Twitter}' width='20' height='20' align='left'/> <img src='{$Gmail}' width='20' height='20' align='left'/><img src='{$Youtube}' width='20' height='20' align='left'/><img src='{$Reddit}' width='20' height='20' align='left'/><img src='{$Meduim}' width='20' height='20' align='left'/><img src='{$Myetherwallet}'width='20' height='20' align='left'/><img src='{$neowallet}'width='20' height='20' align='left'/><img src='{$Bitcointalk}' width='20' height='20' align='left'/<img src='{$kyc}' width='20' height='20' align='left'/>
<form method='post' action=''><input type='hidden' name='link_id' value='".$id."' /><input type='submit' name='like_button' value='Like' name='click' class = 'block'></form>
";
echo "</tr>";
echo"</div>";
echo'</td>';
}
?>
You have many other issue in your codes
-> your code has serious problem of sql injection.
-> Your query has * in it. Great way to shoot your own foot.