I\'ve seen many posts about how to build a table in HTML with PHP and Mysql, but my problem is, that I often change the headers of MySQL columns. Is there any way that PHP autom
I just read your question, and coded to meet your needs, but I used PDO and not MYSQLI, maybe it is better for you to understand the code, because with PDO everything is simpler. And the way I did it, you don't need to put all the tags, PHP will update automatically, and know that the file must end with the extension .php!
Document
ID
FirstName
LastName
Birthday
prepare($sql);
$result->execute();
if($result->rowCount() > 0):
$rows = $result->fetchAll();
foreach($rows as $row):
?>