How to show DB data without using a table?

0

I have a table in the DB that has several rows to show everything in a table, so I wanted anything that had a cursor, to scroll through all the data ... I tried that, but it's not working, can you help me? / p>

<?php
 ....
$dg = new C_DataGrid("SELECT nome, telemovel, email, n_faturacao FROM Paciente");

 $dg -> set_col_title("nome", "Nome do Paciente");
 $dg -> set_col_title("telemovel", "Telem&oacute;vel");
 $dg -> set_col_title("email", "Email");
 $dg -> set_col_title("n_faturacao", "N&#186; Fatura&ccedil;&atilde;o")

 $dg -> display();

?>
    
asked by anonymous 06.07.2017 / 00:36

0 answers