Hoi,
Ik heb een probleempje
Ik kom er niet uit (met michiel), hij geeft geen foutmelding maar mijn uitbetalingen worden niet weergegeven. Wie kan me helpen? xD
Het zit in het WHERE gebruiker = ".mysql_real_escape_string($user_id)."";
Ik heb een probleempje
Ik kom er niet uit (met michiel), hij geeft geen foutmelding maar mijn uitbetalingen worden niet weergegeven. Wie kan me helpen? xDHet zit in het WHERE gebruiker = ".mysql_real_escape_string($user_id)."";
[COLOR= #0000BB]<?[/COLOR]php
[COLOR= #0000BB]$top2[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT * FROM `uitbetalen` WHERE gebruiker = "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$user_id[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$top1[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$top2[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$top[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$top1[/COLOR][COLOR= #007700])){[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$top[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]goedgekeurd[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]0[/COLOR][COLOR= #007700]){[/COLOR]
blablablablablabla
het zit ook in de referral pagina en daar doet alles het wel 