Web Technology II05 marksData retrieval and display
Write a PHP program to connect database and retrieve data from a table and display in a page.
Write a PHP program to connect database and retrieve data from a table and display in a page. [5]
A database collegedb holding a table of students: The script opens the connection, runs a SELECT, and renders the rows into an HTML table. The query text here is fixed, so query() is enough; if the page later filters by something the visitor typed, the statement would be prepared and the value bo...