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>"; Link to comment https://forums.phpfreaks.com/topic/64086-solved-adding-css-style-or-colour-sheet-to-a-php-received-data-from-mysql/ Share on other sites More sharing options...
Fadion Posted August 9, 2007 Share Posted August 9, 2007 echo "<td class=\"yourClass\">".$row['scan']."</td>"; Link to comment https://forums.phpfreaks.com/topic/64086-solved-adding-css-style-or-colour-sheet-to-a-php-received-data-from-mysql/#findComment-319389 Share on other sites More sharing options...
m00ch0 Posted August 9, 2007 Author Share Posted August 9, 2007 Thank you Link to comment https://forums.phpfreaks.com/topic/64086-solved-adding-css-style-or-colour-sheet-to-a-php-received-data-from-mysql/#findComment-319394 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.