top lijst script

Gestart doorKrm10 reacties78 weergaven

11 berichten · pagina 1 van 1

Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
wie kan er een simpel toplijst script maken
hij moet alleen de lid naam en het saldo weergeven als je dat kan maken krijg je wel een vergoeding van 0.05
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Doe ik wel even voor je winkHoe zit de database in elkaar?
En top 25/top 100?
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
database
tabel users
-id
-salo

dat heeft heb jij alleenn nodig volgens mij
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<ol>"[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM users ORDER BY saldo DESC"[/COLOR][COLOR= #007700]);[/COLOR]
    
    [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$list[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]))
    {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<li>"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$list[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"&nbsp; ("[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$list[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]saldo[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]")</li>"[/COLOR][COLOR= #007700];
        
    }[/COLOR]
    
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</ol>"[/COLOR][COLOR= #007700];[/COLOR]
    
?>


Je zal toch iets van een naam drbij moeten zetten?
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Phpkerem:
hij moet alleen de lid naam en het saldo weergeven

Phpkerem:
database
tabel users
-id
-salo

dat heeft heb jij alleenn nodig volgens mij

Je kan lekker de naam weergeven met een id ? emo
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
-username dan?
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Omg, het editten werkt niet?
Ik kan hier nu geen code planten, want dan komt er niets te staan?
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kjeld schreef:
[COLOR= #0000BB]<?[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<ol>"[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM users ORDER BY saldo DESC"[/COLOR][COLOR= #007700]);[/COLOR]
    
    [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$list[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]))
    {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<li>"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$list[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"&nbsp; ("[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$list[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]saldo[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]")</li>"[/COLOR][COLOR= #007700];
        
    }[/COLOR]
    
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</ol>"[/COLOR][COLOR= #007700];[/COLOR]
    
?>
Je zal toch iets van een naam drbij moeten zetten?

maar laat deze de top 25 zien of iedereen gewoon?
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Iedereen, wil je top 25/top 100?

[COLOR= #0000BB]<?[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<ol>"[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM users ORDER BY saldo DESC LIMIT 0,100"[/COLOR][COLOR= #007700]);[/COLOR]
    
    [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$list[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]))
    {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<li>"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$list[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"&nbsp; ("[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$list[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]saldo[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]")</li>"[/COLOR][COLOR= #007700];
        
    }[/COLOR]
    
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</ol>"[/COLOR][COLOR= #007700];[/COLOR]
    
?>


dit is de top 100
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
http://verdien-scripts.nl/test/test.php
chek dit er komen zomaar namen in te staan allemaal wel bekend maar hun staan niet in mijn database hoe kan dat

opgelost er stond nog in het config gegevens van mijn andere domein in
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Phpkerem:
wie kan er een simpel toplijst script maken
hij moet alleen de lid naam en het saldo weergeven als je dat kan maken krijg je wel een vergoeding van 0.05

Puntjes mag je wel sturen als je wilt emo
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren