I am using the following to get data from a database and print it out which is working fine. I can\'t seem to assign a variable to that return so that I can then do an if/el