title: How to change Table Font Size and Color, Php ,Html
body: <p>I am trying to increase font size and add a blue background to first cell, but I could not manage it.</p>
  
  <pre><code>// sending query
  $result = mysql_query("SELECT `UserName`,`UserScore` FROM {$table} ORDER BY `UserScore` DESC");
  if (!$result) {
      die("Query to show fields from table failed");
  }
  
  $fields_num = mysql_num_fields($result);
  
  
  echo "&lt;table border='1' align='center'&gt;&lt;tr&gt;";
  // printing table headers
  //for($i=0; $i&lt;$fields_num; $i++)
  //{
    //  $field = mysql_fetch_field($result);
      echo "&lt;td&gt;Name &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/td&gt;";
      echo "&lt;td&gt;Score &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/td&gt;";
  //}
  echo "&lt;/tr&gt;\n";
  // printing table rows
  while($row = mysql_fetch_row($result))
  {
      echo "&lt;tr&gt;";
  
      // $row is array... foreach( .. ) puts every element
      // of $row to $cell variable
      foreach($row as $cell)
  
          echo "&lt;td&gt;$cell&lt;/td&gt;";
  
  
      echo "&lt;/tr&gt;\n";
  }
  mysql_free_result($result);
  </code></pre>
  
  <p>How can I increase font size and add a blue background to first cell in above table?</p>