Now that some data has been entered into the devices table. Next thing is how you can check that it was correctly inserted.
Retrieving rows from the devices table
This code simply issues the MySQL query SELECT * FROM devices and then displays all the rows returned.