May 4, 2008

Panama Travel Guide - Sometimes Hard to Find!

Panama Travel Guide - sometimes hard to find. The popularity of Panama as a tourist destination is fast becoming very popular. Panama actually started its marketing campaign for tourism heavily in 1996. This was because most in the world new little of this tropical paradise. Most new of this small stretch of land, was that it had a big ditch joining the two oceans but few could ever relate to this country as a vacation/travel resort. Another seemingly little known fact is that Panama City is actually very metropolitan and modern.

There is a lot to do in Panama. Panama Travel Guide says Panama City is packed with restaurants, night life, casinos, and shopping venues. It is full of history too from the Casco Viejo (the Old City) which dates back to 1534. The Old City was moved to a new location mostly because of the pirate raids. And then, of course, the Panama Canal which brought this country into the mainstream in the early 1900s. There are tours available to all of these places.

$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 Travel Guide - Sometimes Hard to Find!' 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 Travel Guide - Sometimes Hard to Find!’;
//$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“;
}

?>

Spread the word

del.icio.us Digg Furl Reddit Help

Permalink • Print • Comment

Trackback uri

http://whereintheworldareyou.com/blog/panama-adventures/panama-travel-guide-sometimes-hard-to-find-447.php/trackback

Leave a Comment

You must be logged in to post a comment.