Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

How to turn on the session support in php?

0 Answers  


write a program to generate bill screen 1.1st page should get the number of products to be billed. 2.2nd page should display the number of rows according to the number of products given in the first page. 3.Each row should have a text box for a.product name b.quantity c.unit price d.item price = quantity x unit price This should be automatically calculated not to be entered by the user. 4.After entering the products calculate sales-tax for the total amount which 8.25%. 5.After entering these values you have to generate the bill in the next page with a unique number for the bill. can anyone solve this problem..i am in need to solve this problem..pls help me

1 Answers   Yahoo,


What is the difference between the functions unlink and unset?

6 Answers  


how to detect a mobile device using php

0 Answers  


How to access a Static Member of a Class in PHP?

0 Answers  






How can we connect to a mysql database from a php script?

0 Answers  


Tell me what is the use of the function htmlentities?

0 Answers  


How do I run php?

0 Answers  


What is cookie and why do we use it?

0 Answers  


How to display your correct URL of the current web page?

0 Answers  


Which PHP function would you use to send an email?

0 Answers  


Explain Type juggling?

0 Answers  






Categories