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 |
Tell me what are sql injections, how do you prevent them and what are the best practices?
Different between the var_dump() and print_r()?
Can we run php in apache tomcat?
What does mysqli_query return?
How to Retrieve a Cookie Value?
Why echo is faster than print in php?
How can we encrypt the username and password using PHP?
3 Answers Rushmore Consultancy,
Why do you need to filter out empty files?
What is difference between print and echo in php?
What are the ways we can destroy a session variable ?
What is php rest api?
Do you know what are traits?