i tried to make option delete for my CI with sql, but why its still error?
error warning:
A Database Error Occurred Error Number: 1054
You need to quote the string. Try this:
$id_label = $this->db->query("select * from t_label where label = '" . $name->USER_NAME . "'")->row();