Support Back – OLD

[php_everywhere]
include(‘Connections/Mkt.php’);
if (!function_exists(“GetSQLValueString”)) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = “”, $theNotDefinedValue = “”)
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists(“mysql_real_escape_string”) ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

switch ($theType) {
case “text”:
$theValue = ($theValue != “”) ? “‘” . $theValue . “‘” : “NULL”;
break;
case “long”:
case “int”:
$theValue = ($theValue != “”) ? intval($theValue) : “NULL”;
break;
case “double”:
$theValue = ($theValue != “”) ? doubleval($theValue) : “NULL”;
break;
case “date”:
$theValue = ($theValue != “”) ? “‘” . $theValue . “‘” : “NULL”;
break;
case “defined”:
$theValue = ($theValue != “”) ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
mysql_select_db($database_Mkt, $Mkt);
$query_list = “SELECT * FROM CountryList where type=1”;
$list = mysql_query($query_list, $Mkt) or die(mysql_error());
$row_list = mysql_fetch_assoc($list);
$totalRows_list = mysql_num_rows($list);

mysql_select_db($database_Mkt, $Mkt);
$query_listrest = “SELECT * FROM CountryList where Type is null”;
$listrest = mysql_query($query_listrest, $Mkt) or die(mysql_error());
$row_listrest = mysql_fetch_assoc($listrest);
$totalRows_listrest = mysql_num_rows($listrest);

[/php_everywhere]

support-cant-find01

support-cant-find02

Please note: Response time may be delayed during holidays.

[insert_php]
$ipi = getenv(“REMOTE_ADDR”);
[/insert_php]

First Name (required):
Last Name (required):
Email (required):
Phone Number:
Address:
City:
State (required):
Zip code (required):
Country:
Message (required):