View Single Post
Old 08-20-2004, 02:03 PM   #3
claudiomet
Green Mole
 
claudiomet's Avatar
 
Join Date: Aug 2004
Location: Chile
Posts: 13
I do that, but doesn't work. The content of the include is:

<? include('config.php');
$rs=mysql_db_query($db,"select * from recomendados order by id asc limit 50");
while($row=mysql_fetch_array($rs)){
echo'<p align="right"><a href="'.$row["direccion"].'" target="_blank">'.substr($row["titulo"],0,17).'</a></p>';
}
mysql_close($conectar);
?>


That shows a list of links stored in a database, but doesn't shows the links, only shows a partial and literal include code.
claudiomet is offline   Reply With Quote