- / Your code after this line:
“.$row[“giathue”].”
- / Now I want to do multiplication with a variable in the config.php file, that variable is a number.
<?php
$itemshow = 3;
$page = ($pages-1)*$itemshow;
$stt = $page;
$orderby = " ORDER BY “.(isset($_GET[“sort”])?“giathue “.($_GET[“sort”]==“asc”?“ASC”:“DESC”):“lastupdate DESC”);
$tsort = isset($_GET[“sort”])?”&sort=”.$_GET[“sort”]:”“;
$SQLString = “SELECT * FROM tin1p WHERE duyet=1 “.(isset($_GET[“quan”])?“AND quan='”.$_GET[“quan”].”'”:”“);
$result = mysql_query($SQLString);
$num_rows = mysql_num_rows($result);
if ($num_rows){
$SQLString = “SELECT * FROM tin1p WHERE duyet=1 “.(isset($_GET[“quan”])?“AND quan='”.$_GET[“quan”].”'”:”“).$orderby.” limit $page, $itemshow";
$result = mysql_query($SQLString);
while ($row = mysql_fetch_array($result))
{
$hinhanh = ret_value(“hinhanh”,“WHERE thutu=1 AND parent=”.$row[“parent”]." AND phienlamviec=“.$row[“phienlamviec”],“duongdan”);
if (!isset($_SESSION[$chitiet]))
{
echo isset($_SESSION[$chitiet])?”“:”“;
$_SESSION[$chitiet] = $baygio;
$solanxem = $row[“solanxem”]+1;
ret_edit_value(”“,“tin1p”,“id=”.$chitiet,“solanxem “,$solanxem);
}
echo “<td width=\“30%\” valign=\“top\” style=\“font-size:12px\”>
<a href=\”\” class=\“small-hotnews-image-\”>
<img style=\“width: 70px;height: 70px;border:3px solid #caccc9;float:left;margin-right:5px\” class=\“sh-news-\” src=\“http://dangkyoffice.com/…”.(strlen($hinhanh)?$hinhanh:”/hide.gif”).“\” />
</a>
<a href=\“http://vanphong.cenrea.com/van-phong-cho-thue-“.$row[“id”].”-“.ret_bo_dau_vn($row[“tentoanha”],”-“).”-duong-“.ret_bo_dau_vn($row[“diachi”],”-“).”-“.$row[“quan”].”.html\\” class=\“hotnews-title-\” style=\“margin-top:5px\” target=\“_Blank\”>“.$row[“tentoanha”].”</a>
<br />“.$quan_array[$row[“quan”]].”
<br />“.$row[“giathue”].” USD/m2
</td>";
}
}
?>
I want to transfer currency is the dollar amount to Vietnam
Thank you very much!