The values you want will be in the $row array. You can access them (depending on the column you want) like this $row, $row, etc.
It looks like the response currently is just the echo'd value 0 or 1
Why not just append them to that string separated by an uncommon character like the pipe or asterisk then split it back up?
Your echo then would be something like
** Also, I should add the obigitory "hash your passwords and consider security"