Class in php

Hey All,

Once again one of my n00b questions but I couldn’t find the answer to this one on

I’ve been writing a small flatfile blog and wanted to add a little style to it with css but when I enter the class=“whatever” tag it doesn’t show up.

Is there a special tag for class in php?

Thanks a bunch,
-Data :sketchy:

post your code, can’t help you otherwise

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles.css" rel="stylesheet" type="text/css">

// Gets contents of a file into a string
$filename = "entry.txt";
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
// Explodes data at line breaks
$line = explode("|", $contents);
fclose ($handle);
<table width="75%" height="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="entry">
    <td height="30" class="entryTitle">Poster: <?php echo ($line[0]); ?> Date: <?php echo ($line[1]); ?> Subject: <?php echo ($line[2]); ?></td>
    <td><?php echo ($line[3]); ?></td>

no that has nothing to do with the php. What is the page that this is on… i could probably help better if you post the example page and I can actually see what its doing…

Ok sorry about the wait I was busy but the problem was a weird CSS problem not in the php. I’m not sure what it was but I rewrote my entire CSS and it worked. Very very odd.

Thanks again guys sorry for all the qustions.
-Data :sketchy:

yeah i figured it was a problem in the css. glad you got it working…