I create a function where I pass parameter for my query and then I return result back to the call.
function query_user_by_username($username) { $conn = ge