how can i find number of rows in a table using MS Access and
php?
i used odbc_num_rows($query); but it returned -1.
Answer / amitverma
The function odbc_num_rows() returns -1 only if there's
some sort of error, whether it be improper db connection or
improper SQL query. So first check/validate these issues
using if conditions in PHP. I think it must solve your
problem.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why triggers are used in mysql?
Is strcmp case sensitive?
Which function would you use to replace a record in a database in php?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
What is difference between readonly and constant?
How do you count numbers in php?
How is it possible to cast types in php?
Whether php supports microsoft sql server?
Why are sessions used?
Do you know is it possible to extend the execution time of a php script?
What is mean tnq
Why is overriding runtime?