...
<?php
$sql_display_words="SELECT * FROM Data1stWord";
while($row = mysql_fetch_array($sql_display_words))
{

$ID = $row['ID'];
$Word = $row['Word'];
?>
  <td><?php echo $ID  ?></td>
  <td><?php  echo $Word ?></td>
<?php
}
?>
...

I tried to display data from database (Id and word) in table but it show blank in my table. Did I miss something? Any suggest?

Hello,
Please check follwing code:

<?php
$sql_display_words="SELECT * FROM Data1stWord";
$result=mysql_query($sql_display_words,$conn); // Add this line
while($row = mysql_fetch_array($result))
{
$ID = $row['ID'];
$Word = $row['Word'];
?>
  <td><?php echo $ID  ?></td>
  <td><?php  echo $Word ?></td>
<?php
}
?>
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.