Skip to content Skip to sidebar Skip to footer

Php Create Html Table From Database

Possible Duplicate: outputting values from database into html table PHP I am trying to create a table in my .php document which is populated with values from a table in a databa

Solution 1:

Use if to check if value is empty or not. Some thing like this.

if($info2['dayid'] == "") {
      echo'<td>&nbsp;</td>';
   }

it will fill it properly, without disturbing it layout.

Hope this helps.

Post a Comment for "Php Create Html Table From Database"