Skip to content

Instantly share code, notes, and snippets.

@jmertic
Created June 17, 2011 12:53
Show Gist options
  • Select an option

  • Save jmertic/1031358 to your computer and use it in GitHub Desktop.

Select an option

Save jmertic/1031358 to your computer and use it in GitHub Desktop.
<?php
function buildWhere()
{
global $current_user;
$returnArray = array();
array_push($returnArray, '(1=1 OR \'dummystring\' = \'');
return $returnArray;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment