Few suggestions for dbraw.php

- use bindParam instead of bindValue
- fetchColumn instead of fetching the entire row
- no need for a for loop, you have a count just count down
- swap empty with isset
- switch " to '