Question and answer is powered by AnsPress.io
I want to count row while data selected from the database using jQuery. Help me please.
If you want to count row in jquery. you need to use length in jQuery. follow this example.
alert(result.length);
Display count of rows while selected records from the MySQL table. Follow this example code.
success: function(res){ console.log(res.length); }
Go to browser and right click on browser then choose Inspect, click console to display your result. Hope it will be helpful for you.