Hallo!,
Ik heb een probleem met mijn klikspel op mijn site..
Ik heb nu dit script ( zie crazy-money.nl )
alleen hij weergeeft helemaal niet de links in het linkspel die ik heb ingevoerd in de mysql
weet iemand oplossing?
ik vond wel een bestandje : iframe.php
dit stond er in:
Misschien kunnen jullie hier iets mee?
Dit zijn tevens niet de links die ik in de mysql heb ingevoerd maar deze lings stonden er al in. Ik heb het al geprobeerd te veranderen die links maar dan wergeeft die het nog niet in het linkspel
de geene die me helpt EN dit probleem hierdoor op lost , ontvangt als bedankje 1 punt
Gr,
Tim
Ik heb een probleem met mijn klikspel op mijn site..
Ik heb nu dit script ( zie crazy-money.nl )
alleen hij weergeeft helemaal niet de links in het linkspel die ik heb ingevoerd in de mysql
weet iemand oplossing?
ik vond wel een bestandje : iframe.php
dit stond er in:
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"select * from kopers where ip=$_SERVER[REMOTE_ADDR]"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$res[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$res[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.geld-promotie.nl/klik.php?id=8"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.euroslang.nl/scripts/linkspel.php?refid=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]3[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.fruitkliks.nl/scripts/linkspel.php?refid=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]4[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.klikkanon.nl/koop.php?dealer=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]5[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.spaarweg.nl/klik.php?user=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]6[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.verdienbux.nl/koop.php?dealer=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]7[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.centenkliks.nl/koop.php?dealer=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]8[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.goudkliks.nl/koop.php?dealer=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]9[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.superklikjes.nl/klik.php?iduser=290"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.giveme.nl/klik.php?user=jenner2006"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]11[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$iframe[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.geld-promotie.nl/klik_extra.php?id=8"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Location: $iframe"[/COLOR][COLOR= #007700]);[/COLOR]
?> Misschien kunnen jullie hier iets mee?
Dit zijn tevens niet de links die ik in de mysql heb ingevoerd maar deze lings stonden er al in. Ik heb het al geprobeerd te veranderen die links maar dan wergeeft die het nog niet in het linkspel

de geene die me helpt EN dit probleem hierdoor op lost , ontvangt als bedankje 1 punt

Gr,
Tim


lees mijn tekst maar eens wat ik er bij heb gezet