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.



how can i find number of rows in a table using MS Access and php? i used odbc_num_rows($query); bu..

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

Post New Answer

More PHP Interview Questions

What is the output of the ucwords function in this example?

0 Answers  


What is a php certification?

0 Answers  


Is php an api?

0 Answers  


Explain $_FILES Superglobal Array?

0 Answers  


when we use ob_start() function in php then the header() and session_start() does not gives the error like header already sent,please explain in brief

2 Answers  






What percentage of websites use php?

0 Answers  


What are the difference between include_once & Require_once?

2 Answers  


What is php sequence?

0 Answers  


How to pass an argument to a function?

0 Answers  


Explain what does the unset() function means?

0 Answers  


Explain what is the difference between session and cookie?

0 Answers  


How can I get the only name of the current executing file?

6 Answers  


Categories