0) { $row = mysql_fetch_array($result); foreach ($row as $key => $value) { if($key!='id') { $$key = $value; } } unset($row); } $query = "select * from main_tdk_c"; $result = mysql_query($query) or die("Query failed ".mysql_error()); if(mysql_num_rows($result)>0) { $row = mysql_fetch_array($result); $main_tdk_title = $row['tdk_title']; $main_tdk_desc = $row['tdk_desc']; $main_tdk_key = $row['tdk_key']; unset($row); } $query = "select * from country_footer_buttons"; $result = mysql_query($query) or die("Query failed ".mysql_error()); if(mysql_num_rows($result)>0) { $row = mysql_fetch_array($result); foreach ($row as $key => $value) { if($key!='id') { $$key = $value; } } unset($row); } $country = str_replace('.',' ',$country); //echo $tdk_title; if($main_tdk_title!=null) { echo str_ireplace('#country#',$country,'' . $main_tdk_title . '1') . PHP_EOL; } else { echo str_ireplace('#country#',$country,'' . $tdk_title . '') . PHP_EOL; } if($main_tdk_desc!=null) { echo str_ireplace('#country#',$country,'' . $main_tdk_desc . '') . PHP_EOL; } else { echo str_ireplace('#country#',$country,'') . PHP_EOL; } if($main_tdk_key!=null) { echo str_ireplace('#country#',$country,'' . $main_tdk_key . '') . PHP_EOL; } else { echo str_ireplace('#country#',$country,'') . PHP_EOL; } ?>
Wellcome to,
Web Hosting
0) { ?>
Neighboring
' . PHP_EOL; foreach ($nc as $value) { if($value != null) { $tmp = str_replace(' ','.',$value); $tmp = strtolower($tmp); // $query = "select * FROM country_pages WHERE country = '$tmp'"; // $result = mysql_query($query,$con) or die("Query failed ".mysql_error()); //echo $query; // if ( mysql_num_rows( $result ) > 0 ) { // http://indiahosting.my247webhosting.com/ $tmp = str_replace(' ','.',$value); $tmp = 'http://' . strtolower($tmp) . 'hosting.my247webhosting.com/'; $nc_data[] = '' . $value . ' Hosting' . PHP_EOL; // } } } if ( is_array($nc_data) && count($nc_data) >0 ) { echo implode(' » ',$nc_data); } //echo '' . PHP_EOL; ?>
0) { ?>
Related Country
' . PHP_EOL; foreach ($rc as $value) { if($value != null) { $tmp = str_replace(' ','.',$value); $tmp = strtolower($tmp); // $query = "select * FROM country_pages WHERE country = '$tmp'"; // $result = mysql_query($query,$con) or die("Query failed ".mysql_error()); //echo $query; // if(mysql_num_rows($result)==0) { // http://indiahosting.my247webhosting.com/ $tmp = str_replace(' ','.',$value); // $tmp = 'http://' . strtolower($tmp) . 'hosting.my247webhosting.com/'; $tmp = 'http://' . strtolower(str_replace('hosting','',$sb)) . 'hosting.my247webhosting.com/?nc=' . $value . $nc_anchor; if ($_GET['nc'] == $value . $nc_anchor ) { $rc_data[] = '' . $value . $nc_anchor . '' . PHP_EOL; } else { $rc_data[] = '' . $value . $nc_anchor . '' . PHP_EOL; } // } } } if ( is_array($rc_data) && count($rc_data) >0 ) { echo implode(' » ',$rc_data); } //echo '' . PHP_EOL; ?>
HOSTING FAST FACT
Web Hosting Plans
WHY CHOOSE US