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 class extend in php?

1036


What is the difference between single-quoted and double-quoted strings in php?

1074


What is the definition of a session?

969


What is the use of is_array() and in_array()?

1005


What is the difference between print() and echo()?

1027


Define urlencode() and urldecode() used in php?

1176


What is serialization in php?

966


What is abstract class php?

923


How do you execute a php script from the command line?

1034


Where sessions stored in PHP?

980


How can we access the data sent through the url with the post method?

936


How can we destroy the cookie in php?

976


How we can retrieve the data in the result set of mysql using php?

1127


What is http php?

941


How values in arrays are indexed?

1053