Skip to content

Instantly share code, notes, and snippets.

@simianhacker
Created December 10, 2010 01:51
Show Gist options
  • Save simianhacker/735637 to your computer and use it in GitHub Desktop.
Save simianhacker/735637 to your computer and use it in GitHub Desktop.
<?php
$query = "select * from example_table where user_id = ?"
$values = array($_SESSION['user_id']);
$results = select($query,$values);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment