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 php? Why it is used?

1049


Write down the benefits of php7?

984


What is the use of array_search() in php?

895


What is crypt () in php?

875


How to test if a variable is an array?

1058


How to find the index of an element in an array php?

944


What is a php certification?

950


What is an object in php?

1044


how can i develop forum code? any one pleale help me on this question

1897


Does session expire on closing browser?

857


What are the three classes of errors that can occur in php?

989


Is php an object or array?

912


What is a controller in programming?

977


How do you end a function in python?

979


What is the purpose of the '.frm' file extension? What do thes file contain?

931