I have this query here:
$query_pag_num = "SELECT id(*) AS count FROM forma";
$result_pag_num = odbc_exec($connection, $$query_pag_num) or die(odbc_error());
I get this error though:
Undefined variable: SELECT id(*) AS count FROM forma in
Could someone please help me with this? Thanks..
I get an error about the id here:
$row = odbc_fetch_array($result_pag_num);
$count = $row['id'];