Jasperxs schreef:Ik moest serieus lachen.Het gaat niet om de code het gaat om de uitkomst en die is SUPER NICE!!!
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]SELECT * FROM users WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]);[/COLOR]
?> Inderdaad, super nice! Het werkt! Een goede uitkomst.
Maar ondertussen is je code wel zo lek als een zeef voor SQL injection. Denk eens na.