- 3 tematów
- 22 postów
- Ostatni post: 2015-02-04 12:39:05 przez krzysiekj24
- 6 tematów
- 14 postów
- Ostatni post: 2017-07-14 15:30:19 przez piomarbrzeg
- 2 tematów
- 12 postów
- Ostatni post: 2013-09-20 12:40:54 przez fish
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; } } ?>
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
Fora w tej kategorii z ilością tematów, postów, ostatni post
Fora w tej kategorii z ilością tematów, postów, ostatni post
Fora w tej kategorii z ilością tematów, postów, ostatni post
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc