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 Posted / 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 |
Post New Answer View All Answers
What is class extend in php?
What is the difference between single-quoted and double-quoted strings in php?
What is the definition of a session?
What is the use of is_array() and in_array()?
What is the difference between print() and echo()?
Define urlencode() and urldecode() used in php?
What is serialization in php?
What is abstract class php?
How do you execute a php script from the command line?
Where sessions stored in PHP?
How can we access the data sent through the url with the post method?
How can we destroy the cookie in php?
How we can retrieve the data in the result set of mysql using php?
What is http php?
How values in arrays are indexed?