Skip to content

Instantly share code, notes, and snippets.

@damour
Created June 7, 2013 13:47
Show Gist options
  • Save damour/5729391 to your computer and use it in GitHub Desktop.
Save damour/5729391 to your computer and use it in GitHub Desktop.
$value_str = self::model()->find(
"category_id = :category_id AND feature_id = :feature_id",
array(
':category_id' => $category_id,
':feature_id' => $feature_id,
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment