[Solved] How to get records from database and show in html format?
First your html Markup up is invalid you can’t close head tag after body this is how an html markup looks like : <!DOCTYPE html> <html> <head> <title>This is a title </title> META TAGs </head> <body BODY CONTENT </body> </html> Now this is how your code should look : <?php ini_set(‘display_errors’, 1); error_reporting(1); ini_set(‘error_reporting’, E_ALL); … Read more