m00ch0 Posted August 9, 2007 Share Posted August 9, 2007 This will most likely be the simplest question ever This is part of my code how do i put a style sheet on that I can't use the tr tag as I want my headings to be a different colour? usually I would put a class in the tr but I cant because of the php? echo "<tr>"; echo "<td>".$row['scan']."</td>"; echo "<td>".$row['description']."</td>"; echo "<td>".$row['serialpartno']."</td>"; echo "<td>".$row['date']."</td>"; echo "</tr>"; Quote Link to comment Share on other sites More sharing options...
Fadion Posted August 9, 2007 Share Posted August 9, 2007 echo "<td class=\"yourClass\">".$row['scan']."</td>"; Quote Link to comment Share on other sites More sharing options...
m00ch0 Posted August 9, 2007 Author Share Posted August 9, 2007 Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.