PHP Classes

File: mainpage.php

Recommend this page to a friend!
  Classes of Ayoub Bekkey   PHP AJAX MySQL Pagination   mainpage.php   Download  
File: mainpage.php
Role: Auxiliary script
Content type: text/plain
Description: the main page
Class: PHP AJAX MySQL Pagination
Generate links to display paginated MySQL results
Author: By
Last change: editing some line code
Date: 9 years ago
Size: 1,033 bytes


Class file image Download
<!-- header !-->
    <link rel="stylesheet" type="text/css" media="screen" href="ajax/css.css" />
    <script type="text/javascript" src="ajax/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        function showLoader(){
        function hideLoader(){
        function pagination(page){
            $("#daycontent").load("ajax/data.php?page="+page, hideLoader);
            return false;
            $("#daycontent").load("ajax/data.php?page=1", hideLoader);
<!-- End header !-->
<!-- Body !-->

<!-- Pagination Block to display pages and pagination links !-->
    <div >
        <div id="container-1">
            <div class="search-background">
                <label><img src="ajax/loader.gif" alt="" /></label>
            <div id="daycontent">
<!-- End pagination block!-->

<!-- End Body !-->