14 Mar 2006 at 16:13 #1 fluiduk fluiduk Associate Joined 13 Nov 2003 Posts 1,567 Location Manchester Hi All I need to apply a css style to this link Code: <?php echo "<a href=\"news.php?id=" . $row["id"] . "\">" . $row["title"] . "</a>"; ?> Whats the best way to do that. Thanks Aaron
Hi All I need to apply a css style to this link Code: <?php echo "<a href=\"news.php?id=" . $row["id"] . "\">" . $row["title"] . "</a>"; ?> Whats the best way to do that. Thanks Aaron
14 Mar 2006 at 16:23 #2 robmiller robmiller Soldato Joined 26 Dec 2003 Posts 16,522 Location London Code: .foo { color:red; } Code: <?php echo <<<EOD <p><a href="news.php?id={$row['id']}" class="foo">lol</a></p> EOD; ?>
Code: .foo { color:red; } Code: <?php echo <<<EOD <p><a href="news.php?id={$row['id']}" class="foo">lol</a></p> EOD; ?>