table class in php

Posted by user225269 on Stack Overflow See other posts from Stack Overflow or by user225269
Published on 2010-04-20T07:23:11Z Indexed on 2010/04/20 7:33 UTC
Read the original article Hit count: 439

Filed under:
|

Is it possible to put a table class in php, like this:

echo "<table  class='xd' border='1'>
<tr>
<th>IDNO</th>
<th>ADDRESS</th>
<th>LASTNAME</th>
<th>FIRSTNAME</th>

</tr>";

I have a table inside a table. The outside table is html. And if I only put table in the css. It will affect both. But when I put class in the table with php script. It won't work. Please help.

© Stack Overflow or respective owner

Related posts about php

Related posts about css