Menu
Howdy folks, Below is the code i want to add some detail to!
[code=php]
if (!$result) {
exit(‘<p>Error performing query: ‘ . mysql_error() . ‘</p>’);
}
$num = mysql_num_rows($result);
echo “<div id=”alldetails”>”;
for ($i=0; $i<$num; $i++)
{
$row = mysql_fetch_row($result);
echo “<p id=”person$i”>
$row[1]<br>n
$row[2]<br>n”;
}
echo “</div>”;
Ok Row 1 is the Headline title (This is for a news page) and Row 2 is the story! I would like to be able to have a different font and color for both of these becuase at momment they are just the page defaults… So Headline could be arial and bold whilst the story is just arial…
Scot