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 cURL in PHP?

1034


What is meant by variable variables in php?

1089


Which method removes the last element from the end of an array?

1013


What is asort php?

1054


Explain the difference between isset() and empty()?

1006


What are the popular content management systems (cms) in php?

970


Is false empty php?

1042


What is the use of htmlspecialchars in php?

1048


How to return ascii value of character in php?

1261


What is the difference between the functions strstr() and stristr()?

1034


What is the string concatenation operator in php?

1188


What are headers in php?

1002


With a heredoc syntax, do I get variable substitution inside the heredoc contents?

1160


How to copy a file?

1121


Write a select query that will be displayed the duplicated site name and how many times it is duplicated?

1075