Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Why triggers are used in mysql?

0 Answers  


Is strcmp case sensitive?

0 Answers  


Which function would you use to replace a record in a database in php?

0 Answers  


What is difference between mysql_fetch_array and mysql_fetch_assoc?

0 Answers  


What is difference between readonly and constant?

0 Answers  


How do you count numbers in php?

0 Answers  


How is it possible to cast types in php?

0 Answers  


Whether php supports microsoft sql server?

0 Answers  


Why are sessions used?

0 Answers  


Do you know is it possible to extend the execution time of a php script?

0 Answers  


What is mean tnq

0 Answers   TNQ,


Why is overriding runtime?

0 Answers  


Categories