May 9, 2008
Panama Weather
Panama Weather - Panama is a country that is very close to the equator and subsequently has a tropical climate. There are some cooler mountainous regions but if you are accustomed to North American weather, those mountainous regions are not really that cool. The weather in Panama is also defined by two very distinct seasons: Rainy season (referred to as winter in this country) runs from May until November and a dry season (referred to as summer) from December until May.
If you arrive in Panama during the rainy season (for example, September) and a local tells you that the rain forest turns brown by the time dry season is over, you will be skeptical at first. Most who arrive for the first time during rainy season will look around at the lush green tropical rain forest and determine there is no way this will dry out. But after one rainy and dry season cycle you will be thoroughly convinced that ‘dry’ really does mean ‘dry’. By the end of the dry season it is common to see numerous brush fires throughout the vicinity. Some brush fires are sparked by accident while others are started through controlled burns in order to reduce the risk of homes being burned.
$db="lhpanama_articles";
$cn=mysql_connect("localhost","lhpanama_nicabri","3uso66s36");
//$cn=mysql_connect("localhost","root","admin");
if(! $cn) {
die("Connection could not be Establish");
}
mysql_select_db($db) or die("Could not open database");
$a_sql = "select * from tbl_articles p,tbl_category c where article_title=' Panama Weather' and p.article_cat=c.cat_id and p.is_active='Y'";
//echo "query= ".$a_sql;
$rs_sql = mysql_query($a_sql);
$row_sql = mysql_fetch_object($rs_sql);
$aid = $row_sql->article_id;
//echo “
article id= “. $aid .”
“;
$siteurl = $row_sql->cat_name;
$sitename = $row_sql->site_name;
//echo “
siteurl= “. $siteurl .”
“;
if ($row_sql->article_id!=”")
{
echo “ For the Full Article visit the “. $sitename .” site click here“;
}
else
{
$title= ‘Panama Weather’;
//$title= “Panama Car Rental”;
$titlepieces = explode(” “, $title);
//$titlepieces[0]=Panama;
//echo “
firsttitle ” .$titlepieces[0];
$firsttitle = $titlepieces[0];
$length= strlen($firsttitle);
//echo “
strlength ” .$length;
if( $length>5 )
{
$sitename = “Living History “.$titlepieces[0];
}
if($length==2)
{
$sitename = “Living History “.$titlepieces[0].” Salvador”;
}
if($length==5)
{
$sitename = “Living History “.$titlepieces[0].” Rica”;
}
//echo “
sitename ” .$sitename;
$sql = “select * from tbl_category where site_name = ‘”.$sitename. “‘ and is_active=’Y’ “;
//echo “
sql = ” .$sql;
$myquery = mysql_query($sql);
$result = mysql_fetch_array($myquery);
$siteurl = $result[cat_name];
//echo “
siteurl ” .$siteurl . “
“;
echo “ For the Full Article visit the “. $sitename .” site click here“;
}
?>




























Leave a Comment
You must be logged in to post a comment.