• 08-09-2009, 13:26:22
    #1
    Yanlışım nerde bakarmısınız


    Link bu şekilde
    echo '<a href="Kategori-'.$play["seocat"].'/" title="'.$play["cattitle"].'">'.$play["cat"].'</a><br />\n';
    Htaccess bu şekilde
    RewriteEngine on
    RewriteBase /
    
    RewriteRule ^/Kategori-(.*?)/ Categori.php?Cat=Categori&Seolink=$1

    Categori.php bu şekilde
    <?php
    include_once("ComeBaby.php");
    	if($_GET["Cat"]=="Categori"):
    	$SeoCat = $_GET["Seolink"];
    	$Go2 = mysql_query("SELECT * FROM categories WHERE seocat='$SeoCat'");
    	$play2 = mysql_fetch_array($Go2);
    	$id = $play2["id"];
    	echo $id;
    	endif;
    ?>
  • 08-09-2009, 13:51:54
    #2
    Eposta Aktivasyonu Gerekmekte
    Emin değilim ama cat ile Cat aynı olmuyor

    bende bir ara $new = $_GET["deger"] kodunda deger yazdığım yerde büyük küçük harften çok sorun yaşamıştırm.