0) { $reviewid=mysql_result($sell,0,"reviewid"); $reviewInfo=mysql_fetch_assoc(mysql_query("SELECT * FROM reviewplace WHERE reviewid=$reviewid", $db)); $regionid=$reviewInfo['regionid']; $countryid=$reviewInfo['countryid']; $cityid=$reviewInfo['cityid']; $_GET['countryid']=$countryid; $_GET['cityid']=$cityid; //echo "
countryid:".$countryid; //echo "
cityid:".$cityid; //echo "
reviewid:".$reviewid; $reviewInfo_text=str_replace("\n","
",$reviewInfo['text']); //$reviewInfo_text=str_replace("
","
",$reviewInfo['text']); //$reviewInfo_text=str_replace("�","'",$reviewInfo_text); $regionInfo=mysql_fetch_assoc(mysql_query("SELECT * FROM region WHERE regionid=$regionid", $db)); $region=$regionInfo['region']; $countryInfo=mysql_fetch_assoc(mysql_query("SELECT * FROM country WHERE countryid=$countryid", $db)); $country=$countryInfo['country']; $countryurl=$countryInfo['countryurl']; if ($cityid==0){ $cityPresent="no"; } else { $cityPresent="yes"; $cityInfo=mysql_fetch_assoc(mysql_query("SELECT * FROM city WHERE cityid=$cityid", $db)); $city=$cityInfo['city']; $cityurl=$cityInfo['cityurl']; $_GET['cityurl']=$cityurl; } $sql_metatag="SELECT description,metadesc,metatag,metatitle,imageid FROM images WHERE reviewid=$reviewid order by imageorder asc,imageid asc"; $result_metatag=mysql_query($sql_metatag,$db) or die(mysql_error()); // Run the query. //echo "pageno:".$pageno; $j=1; while ($row = mysql_fetch_array($result_metatag)) { if($j==$pageno) { $Keywords=$row[2]; $Description=$row[1]; $Title=$row[0]; $imageid=$row[4]; } $j=$j+1; } //echo "imageid:".$imageid; $imgQry="SELECT url,description FROM images WHERE reviewid=$reviewid order by imageorder ASC"; $result_imgQry=mysql_query($imgQry,$db) or die(mysql_error()); // Run the query. $count=mysql_num_rows($result_imgQry); $imageQuery_sql="SELECT url,description FROM images WHERE imageid=$imageid"; $imageQuery=mysql_query($imageQuery_sql, $db); $imageNo=mysql_num_rows($imageQuery); ?> <? echo $Title; ?>
INDEPENDENT AND UNBIASED - LUXURY TRAVELS REVIEWS 'THE PLAIN AND SIMPLE TRUTH'

You are here: Home > Places > > >

$last) { $next=$pageno+1; } else { $next=0; } if($pageno>1) { $previous=$pageno-1; } else { $previous=0; } while ($row = mysql_fetch_array($imageQuery)) { $img_path=$row[0]; ?>

"); } /** this function returns math expression into your form, the parameter is optional * quite simmilar to insertQuestion, but returns the output as a text instead of echoing */ function returnQuestion($prime = 37) { //default prime is 37, you can change it when specifying the different parameter $a = rand() % 10; // generates the random number $b = rand() % 10; // generates the random number $code = MathGuard :: generateCode($a, $b, $prime); return ("MathGuard security question: $a + $b = "); } } ?>
 
Pin It Previous of Next

Email This Page to a Friend
 
Your Details
Name: E-Mail:
Friends Details
Name: E-Mail:
Name: E-Mail:
Name: E-Mail:
Comments:
 
 
<? echo $Title; ?>
INDEPENDENT AND UNBIASED - LUXURY TRAVELS REVIEWS 'THE PLAIN AND SIMPLE TRUTH'

You are here: Home > Places > >

$last) { $next=$pageno+1; } else { $next=0; } if($pageno>1) { $previous=$pageno-1; } else { $previous=0; } $i=1*$first; while ($row = mysql_fetch_array($result_imgQry)) { if(($first<=$last) && ($first<=$count) && ($temp==$first)) { $img_path=""; $img_path=$row[0]; ?>

"); } /** this function returns math expression into your form, the parameter is optional * quite simmilar to insertQuestion, but returns the output as a text instead of echoing */ function returnQuestion($prime = 37) { //default prime is 37, you can change it when specifying the different parameter $a = rand() % 10; // generates the random number $b = rand() % 10; // generates the random number $code = MathGuard :: generateCode($a, $b, $prime); return ("MathGuard security question: $a + $b = "); } } ?>
 
Pin It Previous of Next

Email This Page to a Friend
 
Your Details
Name: E-Mail:
Friends Details
Name: E-Mail:
Name: E-Mail:
Name: E-Mail:
Comments: