<?php $query = "SELECT * FROM test ORDER BY '$_GET[order]'"; ?>
W Postgresie już nie idzie tak łatwo:
Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: non-integer constant in ORDER BY in E:\Dokumenty\httpd\Projekty" title="Zobacz w manualu PHP" target="_manual