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

Tell me how can we pass the variable through the navigation between the pages?

0 Answers  


How do I find out the number of parameters passed into function?

1 Answers  


Can we extend multiple classes in php?

0 Answers  


Is java is better than php?

0 Answers  


How to find out, how a user visited a particular page?

4 Answers   Yahoo,






Explain some of the php string functions?

0 Answers  


What language is php written in?

0 Answers  


How would you impletement download and upload a file in php

2 Answers   A1 Technology,


How to get complete current page url in php?

0 Answers  


Is false empty php?

0 Answers  


What is call by reference in php?

0 Answers  


How to include a file code in different files in php?

0 Answers  


Categories