title: an error happened when change the color of tables in php printf function
body: <p>I want to change the color of text of the table in php file using printf function.
  But when I used this two method , I failed.
  Can you tell me how could that happen?
  And how can I manage to change the color?
   method A:   </p>
  
  <pre><code> &lt;?php   
        printf('&lt;tr&gt;');  
        printf('&lt;td&gt;&lt;font color='red'&gt;abc&lt;/font&gt;&lt;/td&gt;');  
        printf('&lt;/tr&gt;');
    ?&gt;
  </code></pre>
  
  <p>method B:</p>
  
  <pre><code> &lt;?php
    printf('&lt;tr&gt;');
    printf('&lt;td style="color:red"&gt;abc&lt;/td&gt;');
    printf('&lt;/tr&gt;');
   ?&gt;
  </code></pre>
  
  <p>PS: the original question:(this is a part of code)</p>
  
  <pre><code> $userrow = mysql_fetch_array($userqueryresult);
              $thisuserid = $userrow[0];
              $user_type=$userrow[1];
  
  printf("   &lt;td valign = 'center'  width='40%%'&gt;
  &lt;a href='show_user.php?u=%d'&gt;
  &lt;font color='red'&gt;%s&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;\n",$thisuserid, $key);
  </code></pre>
  
  <p>In fact ,When I use color="red" ,it fails while color=‘red', It worked.
  Is there any difference between " " "and " ' "?
  But as  Julie Pelletier said ," abc "it worked.
  This is also " " ".</p>