<?
function trle($linklink) {
$turkce = array('ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','Ç','ç',' ','--','---');
$ingilizce = array('s','S','i','I','g','G','u','U','o','O','C','c','_','-','-');
$linklink = str_replace($turkce,$ingilizce,$linklink);
$linklink=preg_replace("@[^A-Za-z0-9\-_]+@i","",$linklink);
return strtolower($linklink);
}
function tag($linklink) {
$turkce = array(' ','ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','Ç','ç');
$ingilizce = array('','ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','Ç','ç');
$linklink = str_replace($turkce,$ingilizce,$linklink);
return $linklink;
}
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$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;
}
}
?>benim istediğim buraddan çekilen harflerin ilk yazıldığı gibi çekilmesi..Bu şekilde çekmekteyim..
Alıntı
Alıntı
Ayrıca "Araba Resmi" Dediğimde "araba_resmi" diye çıktı veriyor olabiliyorsa "Araba Resmi" diye çıktı versin