UPDATE: I just realized that I'm too noob for javascript and jquery, thanks for answering my questions! How do I close this question?
I'm using PHP and MYSQL for the database, I want to display my database's row values to a but the thing is what if I have like 1000 rows, it'll be really useful If there is a table that doesn't expand as your data floods it with details but instead gives you a scroll option to view the other rows. Please help me, I really have no idea how to do it...
I do know how to connect to my database and to output it but I don't know how to make a table that is scroll-able and does not expand but instead gives you scroll just like a browser...
<?php
mysql_connect('localhost','root','');
mysql_select_db('database');
$query = 'SELECT * FROM table';
$result = mysql_query($query);
while($row = mysql_fetch_array($result)){
echo $row['name'],' ',$row['lastn'],'<br>';
}
?>