here is my code

foreach($test as $t=>sid)

$sid->'name of table'
$sid->'name of table'
$sid->'name of table'
$sid->'name of table'

when i use this code i can only retrieve the last inserted data.

i want to retrieve all the data on my html table.

Thanks in advance.

show me how you retrieve the data from database

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.