hello php-community...
i dont know how to realy use the odbc_execute function... i just want to echo all the content of a resultset ... here is a code snip:
$query = "select * from table";
$stm1 = odbc_prepare($connection, $query);
$execresult = odbc_execute($stm1);
while (odbc_fetch_row($stm1))
{
for ($i=1; $i < odbc_num_fields($stm1) + 1; $i++)
{
echo odbc_result($stm1, $i). "<br>";
}
}
this code echos nothing... but why?
thx and bye...