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.

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


Please Help Members By Posting Answers For Below Questions

What is cms php?

899


How to copy a file?

1020


What are the advantages of php?

967


What is composer install?

1004


How is session id stored in browser?

956


How to update memcached when you make changes to php?

918


Tell me how to create a text file in php?

931


What is is_null() in php?

1004


What is multidimensional array in php?

962


Write a query to find the 2nd highest salary of an employee from the employee table?

986


How many types of session are there?

985


What is the use of strip_tags() method?

890


Write a program in php to reverse a number?

946


What are include() and require() functions?

899


How to set cookies in PHP?

1039