GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   autorank pro help (https://gfy.com/showthread.php?t=833502)

Pinklinkz 06-08-2008 12:34 AM

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

fris 06-08-2008 01:29 AM

wasnt autorank a cgi product?

Nookster 06-08-2008 01:35 AM

autorank = cgi
tgpx = php

You are correct Fris.

Nookster 06-08-2008 01:40 AM

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)

Pinklinkz 06-09-2008 12:05 AM

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

Pinklinkz 06-09-2008 10:51 AM

just want the top 50 either in a column or rows with wrap around text


All times are GMT -7. The time now is 02:21 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123