How create the datagrid in php:?:

What kind of functionality do you want it to have?

I will display the data on my page using table format use php.how do it?

$qry = mysql_query("SELECT * FROM tablename") or die(mysql_error());
echo "<table><tr><td>";
while($row=mysql_fetch_array($qry)) {
echo $row['1stfield']. "</td>";
echo "<td>".$row['2ndfield']. "</td>";
echo "</tr>";
}
</table>

that should do it

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.