beginner format question
how can I change the format of a cell with php?
In plain English something like;
replace <td> with <td class="MyClass">
thanks for any help.
echo "<td class='MyClass'></td>" ;
I sometimes use this approach:
$class = ($i == 10) ? " class='MyClass'" : "";
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)