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 |
What is the difference between "echo" and "print" in php?
What the use of var_dump()?
What is the meaning of ‘escaping to php’?
Which php mvc framework is best?
Is apache needed for php?
What good is polymorphism?
Explain array_uintersect()?
How many types of php are there?
Which is better php or nodejs?
What are the rules in creating php variable?
how set session expire time in php?
How does cookies work in php?