Hi
Shouldn't this query use $pk instead of hardcoded 'id' ? same for line below?