Kimlik doğrulama veya yönetimden onay bekliyor.
Merhaba Hayırlı akşamlar öncelikle . home sayfasında her giriş yaptığında açılır bir pop up penceresi var yanlız yazı uzadıkça sayfa tamamen doluyor. ve alta kayıyor ben yazı nekadar uzun olursa olsun buraya ileri ve geri butonu koyup sayfalar halinde bölmesini istiyorum bunu nasıl yapabilirim .
Aşağıdaki Belirriğim gibi
<script language="javascript" type="text/javascript">
function GG(alan) {
var alanx;
alanx = document.getElementById(alan).style;
if (alanx.display == "block") {
alanx.display = "";
}
else {
alanx.display = "block";
};
};
setTimeout("GG('pencere')", 1000); // 2 saniye sonra açılır
</script>
<div id="pencere">
<div class="card" style="border: 0; background: #25252a; color: #FFF;">
<div class="card-header" style="background: var(--site-rengi); text-align: center; font-weight: 700; display: flex; align-items: center; justify-content: space-between;">
Son Duyuru
<div onclick="javascript: GG('pencere');" style="cursor: pointer; color: #000;">Kapat</div>
</div>
<div class="table-responsive">
<div class="card-body">
PHP Pagination
PHP is mostly used to store and display data from a database. Pagination can be done with ajax, but here this is done with non-ajax. In this tutorial, we will learn the pagination in PHP with MySQL. Let's take a brief review about pagination with an example -
It is possible that a SQL SELECT query may returns millions of records back. It is not a good idea to display all records on a single page. A large list of records on a single page may take so much time to load the page and also consume time to find specific data. This may cause (leads to) the confusion in user's mind. Therefore, divide these records over several pages according to the user requirement.
So, what can we do to distribute these large number of records in number of pages? The method of distributing a single list into multiple pages is known as Pagination. Paging refers to showing your query result on multiple pages instead of a single page.
</div>
</div>
</div>
</div>