Skip to content

Instantly share code, notes, and snippets.

@mallain
Created November 11, 2010 15:36
Show Gist options
  • Save mallain/672647 to your computer and use it in GitHub Desktop.
Save mallain/672647 to your computer and use it in GitHub Desktop.
<?php
$var = 'niii';
// Quote simple
$query = 'SELECT password from users where login = "' . $var . '"';
echo $query;
// Exemples disponibles sur siteduzero.com
// http://www.siteduzero.com/tutoriel-3-14451-les-variables.html#ss_part_3
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment