11-20-2016, 06:43 AM
You're looking for
$query = “SELECT * FROM users WHERE username = ? AND id = ?”,array($value,$user->data()->id));
$query = “SELECT * FROM users WHERE username = ? AND id = ?”,array($value,$user->data()->id));