Welcome Guest, Not a member yet? Register   Sign In
convert value from routes/uri to string
#5

(04-13-2019, 03:04 AM)Wouter60 Wrote: You can also try query bindings:

PHP Code:
$sql "SELECT * FROM users WHERE $key = ?";
$this->db->query($sql, array($value)); 

it doesn't work
Reply


Messages In This Thread
convert value from routes/uri to string - by DELE - 04-13-2019, 01:42 AM
RE: convert value from routes/uri to string - by DELE - 04-14-2019, 05:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB