Thông tin giới thiệu
$sql="select * from thongtingioithieu where id=1";
$result=mysql_query($sql) or die(mysql_error());
while($row=mysql_fetch_array($result))
{
$scs=$base_url."/admin/upload/";
$sourcea=stripslashes($row['infoVN']);
$l=$site."/";
$source=str_replace('../',$l,$sourcea);
//$source=stripslashes($row['n_fullVN']);
$scs=$site."/admin/upload/";
echo str_replace('upload/',$scs,$source);
}
?>