hi every one, i have this below code in php and i want to use a certin style code like:
font-family: verdana, arial, Helvetica, sans-serif; font-size:10px;
my php code is:
mysql_connect($db_host, $db_user, $db_pass) or die();
mysql_select_db($db_name) or die();
$result=mysql_query("select * from issue where online=1") or die(mysql_error());
$output="";
if(mysql_num_rows($result) >0){
for($i=1; $i<4; $i++){
$id= mysql_result($result,0,'id');
$output .='<div style="height:60"><img src="images/'.mysql_result($result,0,'t'.$i.'_spic').'" width="65" height="60" align="left" />
<a href="campus_life.php?t'.$i.'='.$id.'">'.mysql_result($result,0,'t'.$i.'_title').'</a><br><br>'.substr(mysql_result($result,0,'t'.$i.'_text'),0, 150).'</div><br><br>';
}
}
echo $output;
?>
pls help meeee!!!!
style in php
Moderator: General Moderators
Re: style in php
thank you
i find the solution.
i find the solution.