Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 9:12 AM
Views: 8
  1. $sql = "SELECT * FROM some_table WHERE id = ? AND status = ? AND author = ?";
  2. $this->db->query($sql, array(3, 'live', 'Rick'));