Hi,
I am using PHP and SYBASE in my project.
I am looking for a way to get an error number that sybase gives
when sybase_query() function doesn't work.
sybase_query() function only returns FALSE when it fails.
In that case, I would like to know a bit more about the reason
why it fails.
I read PHP manuals but I was not able to find any proper function
to detect an error number.
After some trial, I got to know the result of "select @@"
returns an error number.
This works. But I must invoke sybas_qury() again at that time.
Is there any other way to get to know an error number ?
Thanks.