How can I insert information from database in a table?

Hello.

I want to ask how can I insert the some information from a database into a table?

Should I mix HTML and PHP?

something like

echo “<table>”;

or making HTML alone such as:

<table>
and then add php code?

A quick google search pulled up this example: Retrieving Data from MySql into HTML Table Using PHP

This is only one of many (slightly different) techniques.

Create the table you need in HTML first, then, look to replace the dummy values with values from PHP.

If you need help doing this, just ask. :slight_smile: