A quick php question HELP!!!

EmperorIQ

Platinum Member
Sep 30, 2003
2,003
0
0
Hi,

I am connecting to MSSQL using ODBC drivers in php. Is there anyway I can check if the result returned is empty? w/o using fetch. odbc_num_rows doesn't work for mssql. Any suggestions? This is what I currently have:

$result = odbc_exec($conn, "<a sql query>");

So how do I utilize result w/o fetching a row in advance?

Thanks,