How to get no. of rows using MYSQL function?



How to get no. of rows using MYSQL function?..

Answer / Tulsi Ram Yadav

To get the number of rows in a MySQL result set, use the mysql_num_rows() or mysqli_num_rows() functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience

127 Answers   ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,


hi! i am tushar. i am trying to insert digital signature in a pdf file using PHP. i create a digital signature jpg image using imagecreatefromjpeg() function, but whenever i trying to insert it into my pdf file it shown this error. "FPDF error: Not a JPEG file: signature.jpg". could some one help me? how can i insert a digital signature in a pdf file using PHP?

1 Answers  


What does $this do in php?

1 Answers  


AentteQ Software Technologies Q: what are benifits of using LAMP..?

5 Answers  


Can anyone explain about join?

3 Answers  


What is the method to register a variable into a session?

1 Answers  


Why do we use javascript in php?

1 Answers  


What is html used for?

1 Answers  


What are the differences between require and include?

1 Answers  


Is php easier than javascript?

1 Answers  


What is mysqli_fetch_array?

1 Answers  


What can I do by cakePHP?

4 Answers  


Categories