Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panaikinti lietuviškus simbolius

Parašė Gugiss· 2010 Lap. 11 16:11:36
#7

Bet yra beda. Dabar news.php turiu toky koda, o bandant prisijungti parodo ta setuser kad viskas ok, redirectina y news.php, bet acc neprisijungia

$subj = $data['news_subject'];
$subj = str_replace('ą','a',$subj);
$subj = str_replace('č','c',$subj);
$subj = str_replace('ę','e',$subj);
$subj = str_replace('ė','e',$subj);
$subj = str_replace('į','i',$subj);
$subj = str_replace('Š','S',$subj);
$subj = str_replace('š','s',$subj);
$subj = str_replace('ų','u',$subj);
$subj = str_replace('ū','u',$subj);
$subj = str_replace('ž','z',$subj);
$subj = str_replace( " ", "-", $subj);
$news_subject = "<a href='".$subj."-".$data['news_id'].".html'>".$data['news_subject']."</a>";