Page 1 of 1

Page Numbering....CHANGE FONT COLOR PLZ

Posted: Sun Mar 21, 2004 9:19 am
by illmapu
Hi,

I feel kind of dumb asking this question, but is it possible or can someone help me?

I have a page numbeering script and everything works fine, the only problem is that my results are in black on a black page, so I can't see the results. I also want to make one of the results a link.

I tried over and over to edit, but I could not get it to work correctly. Here is the part of the code I need help with, like i said, everything works ok, just want to beable to make lsname and lsdescript fonts white for example and lsurl a link?

$sql = mysql_query("select lsname, lsurl, lsdescript from links where lsstatus='Active' ORDER BY lsid DESC LIMIT $from, $max_results");

while($row = mysql_fetch_array($sql)){

echo $row['lsname']."<br />";
echo $row['lsurl']."<br />";
echo $row['lsdescript']."<br /><br>";
}


Can it be done or can someone help me?

Thanks in adavance!

:oops:

Posted: Sun Mar 21, 2004 9:26 am
by Illusionist
you must not know any HTML huh??

Code: Select all

echo "<font color=white>";
echo $row['lsname']."<br />"; 
echo "<a href=".$row['lsurl']." target=_blank>".$row['lsurl']."</a><br />"; 
echo $row['lsdescript']."<br /><br>";
echo "</font>";

Posted: Sun Mar 21, 2004 9:34 am
by illmapu
Hi,

I didnt' need to be insulted, but thanks for your help.

:?

Posted: Sun Mar 21, 2004 9:37 am
by tim
no harm meant, but a good reference for html is:

htmlgoodies.com