$img_path="";
$qry1="select count(*) cnt from image_master where prop_id = '". $row['prop_id']."'";
$query1 = mysql_query ($qry1) or die ("Error : " . mysql_error());
$row1 = mysql_fetch_array($query1);
if($row1['cnt']>0)
{
$qry1="select * from image_master where prop_id = '". $row['prop_id']."' and is_album = 1";
$query1 = mysql_query ($qry1) or die ("Error : " . mysql_error());
$row1 = mysql_fetch_array($query1);
$img_path=$row1['image_path'];
}
?>
style="text-decoration:none" target=_blank>
|
/*
".$row['prop_city']." ".$row['prop_state']." ".$row['prop_zip'] ;?>
|
*/ ?>
$
|
echo htmlspecialchars_decode(substr($row['prop_desc'],0,405));
/*
$str=substr($row['prop_desc'],0,400);
$text_line = explode(". ",$str);
for ($start=0; $start < count($text_line); $start++)
{
if($start == count($text_line) - 1)
echo " ".ucfirst(strtolower($text_line[$start]));
else
echo " ".ucfirst(strtolower($text_line[$start])).".";
/*$str=substr($row['prop_desc'],0,400);
$text_line = explode(". ",$str);
for ($start=0; $start < count($text_line); $start++) {
if($start == count($text_line) - 1)
echo " ".ucfirst($text_line[$start]);
else
echo " ".ucfirst($text_line[$start]).".";
}
*/
?>
405) echo " More...";?>
|
}
}
?>