I am trying to display a "Today's event" table from a calendar db on a page. I am able to successfully query the information I want using phpMyAdmin, but when I insert the converted code into a *.php file it does not print the result. Using echo statements I can tell that I am connected to the database, the table header prints, and then the db closes. I was also including an IF statement that would display "No shcedule evetns today" if the query did not result in finding an event for the current date.
I suspect there is a formatting issue that is causing the results not to print. What steps are needed in order to make this work.