Issue with database

Not sure if read function or insert function but I cannot get any data
from my database