i want to display user data suppose made a tabe like below.
<?php session_start() ?>
<form method="post" action="">
<input type="text" name="name"/>
<input type="text" name="mobile"/>
<input type="submit" name="submit"/>
</form>
<?php
$_SESSION['name']=$_POST['name'];
$_SESSION['mobile']=$_POST['mobile'];
Now i dont want to store these values in database but display values ina table exmple below
S.NO NAME MOBILE 1 Yogesh 9717797354 2 BHASKAR 9898225441 3 ANIKESH 9594474557 4 ABHISHEK 9854774144
Now i want to display each name & mobile no inout in a table as shown below without storing in databse using session. I have tried but able to put only single value and beside inserting its updating the existing value. how can this be achieved using lop??please help??o