autorank pro help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pinklinkz
    Confirmed User
    • Nov 2005
    • 658

    #1

    autorank pro help

    is anyone on here familiar with programming PHP
    and more to the point familiar with the script autorank pro

    What I am after is a simple script making that takes its feed from the autorank pro database and displays all the 50 newest sites added ... just to give new trades a bit of a boost. I asked at jmb but no one replied.

    Cheers all
    Link Exchanges Wanted
    www.pinklinkz.com
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55700

    #2
    wasnt autorank a cgi product?
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • Nookster
      Confirmed IT Professional
      • Nov 2005
      • 3744

      #3
      autorank = cgi
      tgpx = php

      You are correct Fris.
      The Best Affiliate Software, Ever.

      Comment

      • Nookster
        Confirmed IT Professional
        • Nov 2005
        • 3744

        #4
        I would need to see the table setup of course but it should be as simple as the following:

        // include db connection
        $r = @mysql_query("select * from table_name order by id desc limit 50");
        $reta = array();
        while($rw = @mysql_fetch_array($r)){
        $reta[] = $rw;
        }
        foreach($reta as $newguy){
        // print out row
        }
        // i simplified the mysql db for simplicity here. You really should use a db abstraction layer (OOP)
        The Best Affiliate Software, Ever.

        Comment

        • Pinklinkz
          Confirmed User
          • Nov 2005
          • 658

          #5
          yeah its a cgi database

          hehehe you see how much i need help now

          the admin page will allow me to see in order the last people to register, but the program itself wont allow me to display them in that order on my site
          Link Exchanges Wanted
          www.pinklinkz.com

          Comment

          • Pinklinkz
            Confirmed User
            • Nov 2005
            • 658

            #6
            just want the top 50 either in a column or rows with wrap around text
            Link Exchanges Wanted
            www.pinklinkz.com

            Comment

            Working...