I am trying to select the data I have put into the table created in the MySQL database. I have connected correctly to the database, but the query tells it doesn't contain anything. I added 2 rows to the table but it looks like the code doesn't read them as being > 0. I have tried by using both procedural and OOP way. It tells me that the query has given 0 results but I expect an output like the table you will see below (after the code).
... View more