![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2005
Posts: 658
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
autorank = cgi
tgpx = php You are correct Fris.
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Nov 2005
Posts: 658
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Nov 2005
Posts: 658
|
just want the top 50 either in a column or rows with wrap around text
|
![]() |
![]() ![]() ![]() ![]() ![]() |