ik gebruik het whear systeem
deze code gaat mis:
als ik die code in een nieuw php document zet dan werkt hij dan krijg ik er 70 credits bij
maar als ik hem in dit stukje code zet:
wie o wie kan de code laten werken?
ik kom er gewoon niet meer uit
toevoeging op 20 oktober 2011, 07:51:13:
ik heb het 1ste stukje code all in het 2de gezet
ik krijg wel melding met Je hebt er nu 70 credits bij
maar meer ook niet
als ik dan kijk naar mijn credits heb ik er nogsteeds geen bijgescheven
toevoeging op 20 oktober 2011, 07:56:01:
oeps er ging iets mis met dubbelpost beveiligingxD
ik gebruik 3g en klikte wat vaak
deze code gaat mis:
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE users SET credits = credits+70 WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]""[/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]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div id="succes">Je hebt er nu 70 credits bij! <a href="index.php"></a></div>[/COLOR][COLOR= #007700];[/COLOR]
?> als ik die code in een nieuw php document zet dan werkt hij dan krijg ik er 70 credits bij
maar als ik hem in dit stukje code zet:
[COLOR= #0000BB]<?[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] ?>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$get_userdata[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]toegang[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]){[/COLOR]
?>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE users SET credits = credits+70 WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]""[/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]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div id="succes">Je hebt er nu 70 credits bij! <a href="index.php"></a></div>[/COLOR][COLOR= #007700];[/COLOR]
?>
[COLOR= #0000BB]<?[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] ?>
Je hebt geen toegang meer omdat je meer dan 1 keer wou inloggen
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE codes SET toegang = 0 WHERE code = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]code[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" "[/COLOR][COLOR= #007700]); } }[/COLOR] ?> wie o wie kan de code laten werken?
ik kom er gewoon niet meer uit
toevoeging op 20 oktober 2011, 07:51:13:
ik heb het 1ste stukje code all in het 2de gezet
ik krijg wel melding met Je hebt er nu 70 credits bij
maar meer ook niet
als ik dan kijk naar mijn credits heb ik er nogsteeds geen bijgescheven
toevoeging op 20 oktober 2011, 07:56:01:
oeps er ging iets mis met dubbelpost beveiligingxD
ik gebruik 3g en klikte wat vaak