How create the datagrid in php:?:
senthilvnr08 0 Newbie Poster
Recommended Answers
Jump to Post$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
All 3 Replies
Reply to this topic 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.