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,
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,