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 cURL in PHP?
What is meant by variable variables in php?
Which method removes the last element from the end of an array?
What is asort php?
Explain the difference between isset() and empty()?
What are the popular content management systems (cms) in php?
Is false empty php?
What is the use of htmlspecialchars in php?
How to return ascii value of character in php?
What is the difference between the functions strstr() and stristr()?
What is the string concatenation operator in php?
What are headers in php?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
How to copy a file?
Write a select query that will be displayed the duplicated site name and how many times it is duplicated?