Results 1 to 2 of 2

Thread: Pagination script with my pagination php code?

  1. #1
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pagination script with my pagination php code?

    1) Script Title: Ajax Pagination script v1.2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nate/index.htm

    3) Describe problem: Im trying to incorporate this script with my pagination code.

    PHP Code:
    <?
       
    for ($i 1$i <= $IntTotalPages$i++)
       {
          if (
    $i == $IntPage
       {
          echo 
    "<strong>$i</strong> |";
       } else
       {
          if (!empty(
    $HTTP_GET_VARS['categoria'])) 
       {
    ?>
        <a href="index.php?categoria=<? echo $IntCategory?>&page=<? echo $i?>&id=<? echo $IntMaxID?>"><? echo $i?></a> |
        <?
            
    } else
        {
        
    ?>
       <a href="index.php?page=<? echo $i?>&id=<? echo $IntMaxID?>"><? echo $i?></a> |
       <?
            
    }
            }
        
    $IntMaxID $IntMaxID 12;
            }
        
    ?>
    I need help... im not a expert on php

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It's impossible to tell what the problem is just with the above snippet of code. Unfortunately debugging server side code is probably beyond the scoop of what we can help you with, as it's highly personal dependent on how everything else is set up on your backend. If you're not familiar enough with PHP, you may want to try and a freelancer to do it for you. Should be a rather quick job assuming they have access to your site/ mySQL database.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •