Jump to content

[SOLVED] Adding css style or colour sheet to a php received data from mysql


m00ch0

Recommended Posts

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>";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.