0
I have a table in the comic book that has several lines to show everything in a table, so I wanted anything that had a cursor, to go through all the data... I tried that way, but it’s not working, you can help me?
<?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óvel");
$dg -> set_col_title("email", "Email");
$dg -> set_col_title("n_faturacao", "Nº Faturação")
$dg -> display();
?>
You say pagination?
– MarceloBoni
@Marceloboni What do you mean, I don’t understand the question, sorry.
– Isabel Sousa
Your table, has many rows, or many columns?
– MarceloBoni
@Marceloboni many lines, in this case has many patients
– Isabel Sousa
As well as a cursor?
– MarceloBoni
@To walk up and down
– Isabel Sousa
Could explain why it’s not working?
– MarceloBoni
@Marceloboni I have no idea, what I did, is theoretically correct?
– Isabel Sousa
Let’s go continue this discussion in chat.
– MarceloBoni