<?php echo $sanitizer->useEscape("SELECT * FROM `users` WHERE `username` = 'admin';");
info at phpclasses dot org