• 01-05-2010, 11:49:24
    #10
    ByTriSLaSiS adlı üyeden alıntı: mesajı görüntüle
       <?php 
    include("sayfalar/db.php"); 
    $sorgu = mysql_fetch_array(mysql_query("SELECT * FROM reklamlar WHERE id='1'")); 
    echo $sorgu['reklam_alani'];
    ?>
    kontrol edemedim sen bunu dene bakalım
    o kod yerine bunu dene
    yok malesef olmadı yine
  • 01-05-2010, 11:50:59
    #11
    e ozaamn include ettiğin sayfalarda ara hatayı yada 2 sayfanında tamamını koy buraya
  • 01-05-2010, 11:52:29
    #12
    include ettiğin sayfada kullanıcı adı , şifre gibi özel yerleri xx ile değiştirerek koyar mısın buraya ? Ve bu sayfayı diğer yerlerde include ettiğinde sorun oluyor mu ? Yani veritabanı dosyası sanırım bu dosya, başarıyla bağlanabiliyor musun veritabanına ?
  • 01-05-2010, 11:54:09
    #13
    db.php koyim local de deniyorum...

    <?php
    $dbhost="localhost";
    $dbkullaniciadi="root";
    $dbadi="portal";
    $dbsifre="";
    
    $baglanti=mysql_connect("$dbhost","$dbkullaniciadi","$dbsifre");
    mysql_select_db("$dbadi",$baglanti);
    mysql_query("SET NAMES 'latin5'");
    ?>
    buda index.php ama index php uzun olduğu için tasarım fln varya içinde

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Watoz Türkiyenin Web Portalı | watoz.net | Büyük Sanal Proje</title>
    <meta name="description" content="Watoz Türkiyenin Web Portalı | watoz.net | Büyük Sanal Proje">
    <meta name="keywords" content="watoz,oyun,video,haber,müzik,video,sinema,tv izle, radyo dinle, radyo, dinle, izle, indirmeden izle, watoz.net, watoz, net, web, portal,firma rehberi,firma,rehberi,foto,galeri,hava,durumu,finans,canlı, sohbet, canlı sohbet, chat, mirc, spor, futbol, iddaa, kadın, erkek, watoz duyuru, duyuru, genel,">
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-9">
    <meta name="author" content="Watoz Türkiyenin Web Portalı | watoz.net | Büyük Sanal Proje">
    <meta name="generator" content="Web Page Maker">
    <link rel="stylesheet" type="text/css" href="default.css" />
    <style type="text/css">
    div#container
    {
    	position:relative;
    	width: 1052px;
    	margin-top: 0px;
    	margin-left: auto;
    	margin-right: auto;
    	text-align:left; 
    }
    body {text-align:center;margin:0}
    </style>
    
    </head>
    <body>
    <div id="container">
    <div id="shape1" style="position:absolute; overflow:hidden; left:0px; top:29px; width:1051px; height:126px; z-index:0"><img border=0 width="100%" height="100%" alt="" src="images/shape54480281.png"></div>
    
    <div id="image1" style="position:absolute; overflow:hidden; left:1px; top:31px; width:302px; height:124px; z-index:1"><img src="images/watoz_logo.png" alt="" title="" border=0 width=302 height=124></div>
    
    <div id="text1" style="position:absolute; overflow:hidden; left:87px; top:116px; width:370px; height:34px; z-index:2">
    <div class="wpmd">
    <div><font face="Vivaldi" class="ws18"><I>Web Portal da Yeni Adres</I></font></div>
    </div></div>
    
    <div id="shape2" style="position:absolute; overflow:hidden; left:0px; top:0px; width:1051px; height:25px; z-index:3"><img border=0 width="100%" height="100%" alt="" src="images/shape27887140.png"></div>
    
    <div id="html1" style="position:absolute; overflow:hidden; left:4px; top:2px; width:120px; height:19px; z-index:4">
    <SCRIPT LANGUAGE="JavaScript1.2">
    
    <!-- Begin
    var months=new Array(13);
    months[1]="Ocak";
    months[2]="?ubat";
    months[3]="Mart";
    months[4]="Nisan";
    months[5]="Mayys";
    months[6]="Haziran";
    months[7]="Temmuz";
    months[8]="A?ustos";
    months[9]="Eylül";
    months[10]="Ekim";
    months[11]="Kasym";
    months[12]="Aralyk";
    var time=new Date();
    var lmonth=months[time.getMonth() + 1];
    var date=time.getDate();
    var year=time.getYear();
    if (year < 2000) // Y2K Fix, Isaac Powell
    year = year + 1900; // http://onyx.idbsu.edu/~ipowell
    document.write("<center>" + lmonth + " ");
    document.write(date + ", " + year + "</center>");
    // End -->
    </SCRIPT></div>
    
    <div id="marquee1" style="position:absolute; overflow:hidden; left:161px; top:3px; width:885px; height:19px; z-index:5">
    <marquee width="885" height="19">
    <div class="wpmd">
    <div><font color="#B7B7B7" face="Times New Roman">Watoz Web hizmetleri'nin Büyük Web portalına hepiniz hoşgeldiniz. kesinlikle herşeye kolay bir şekilde ulaşabilirsiniz. üyeliksiz bedava tüm hizmetlerinden yararlanabilirsiniz.</font></div>
    </div></marquee>
    </div>
    
    <div id="shape3" style="position:absolute; overflow:hidden; left:0px; top:160px; width:1051px; height:51px; z-index:6"><img border=0 width="100%" height="100%" alt="" src="images/shape33857593.png"></div>
    
    <div id="image2" style="position:absolute; overflow:hidden; left:1001px; top:162px; width:48px; height:48px; z-index:7"><img src="images/watoz (2).png" alt="" title="" border=0 width=48 height=48></div>
    
    <div id="image3" style="position:absolute; overflow:hidden; left:952px; top:160px; width:48px; height:48px; z-index:8"><img src="images/watoz (9).png" alt="" title="" border=0 width=48 height=48></div>
    
    <div id="image5" style="position:absolute; overflow:hidden; left:895px; top:162px; width:48px; height:48px; z-index:9"><img src="images/watoz (4).png" alt="" title="" border=0 width=48 height=48></div>
    
    <div id="html2" style="position:absolute; overflow:hidden; left:486px; top:69px; width:468px; height:58px; z-index:10">
    [PHP]<?php 
    include("db.php"); 
    $sorgu = mysql_fetch_array(mysql_query("SELECT * FROM reklamlar WHERE id='1'")); 
    echo $sorgu['reklam_alani'];
    ?>
    </div>

    <form name="ara" method="POST" action="ara.php" style="margin:0px">
    <input name="arama" type="text" style="position:absolute;width:453px;left:8px;top: 176px;z-index:11">
    <div id="formimage1" style="position:absolute; left:461px; top:167px; z-index:13"><input type="image" name="ara" width="0" height="0" src="images/1272639648_search.png"></div>
    </form>

    <div id="shape4" style="position:absolute; overflow:hidden; left:0px; top:214px; width:211px; height:468px; z-index:14"><img border=0 width="100%" height="100%" alt="" src="images/shape36412000.png"></div>

    <div id="image4" style="position:absolute; overflow:hidden; left:8px; top:222px; width:48px; height:48px; z-index:15"><img src="images/1272640949_community.png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image6" style="position:absolute; overflow:hidden; left:8px; top:272px; width:48px; height:48px; z-index:16"><img src="images/watoz (4).png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image8" style="position:absolute; overflow:hidden; left:5px; top:324px; width:48px; height:48px; z-index:17"><img src="images/watoz.png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image9" style="position:absolute; overflow:hidden; left:4px; top:374px; width:48px; height:48px; z-index:18"><img src="images/watoz (6).png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image10" style="position:absolute; overflow:hidden; left:4px; top:425px; width:48px; height:48px; z-index:19"><img src="images/watoz (7).png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image11" style="position:absolute; overflow:hidden; left:5px; top:477px; width:48px; height:48px; z-index:20"><img src="images/watoz (8).png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image13" style="position:absolute; overflow:hidden; left:6px; top:527px; width:48px; height:48px; z-index:21"><img src="images/watoz (10).png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image14" style="position:absolute; overflow:hidden; left:6px; top:563px; width:48px; height:48px; z-index:22"><img src="images/watoz (3).png" alt="" title="" border=0 width=48 height=48></div>

    <div id="image17" style="position:absolute; overflow:hidden; left:4px; top:616px; width:48px; height:48px; z-index:23"><img src="images/1272640817_bank.png" alt="" title="" border=0 width=48 height=48></div>

    <div id="text2" style="position:absolute; overflow:hidden; left:66px; top:242px; width:110px; height:24px; z-index:24">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Ana Sayfa</B></font></div>
    </div></div>

    <div id="text3" style="position:absolute; overflow:hidden; left:66px; top:291px; width:110px; height:24px; z-index:25">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Haberler</B></font></div>
    </div></div>

    <div id="text4" style="position:absolute; overflow:hidden; left:65px; top:341px; width:151px; height:24px; z-index:26">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Fotoğraf - galeri</B></font></div>
    </div></div>

    <div id="text5" style="position:absolute; overflow:hidden; left:64px; top:392px; width:133px; height:24px; z-index:27">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Hava durumu</B></font></div>
    </div></div>

    <div id="text6" style="position:absolute; overflow:hidden; left:63px; top:446px; width:110px; height:24px; z-index:28">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Astronomi</B></font></div>
    </div></div>

    <div id="text7" style="position:absolute; overflow:hidden; left:66px; top:497px; width:110px; height:24px; z-index:29">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Sinema</B></font></div>
    </div></div>

    <div id="text8" style="position:absolute; overflow:hidden; left:64px; top:544px; width:110px; height:24px; z-index:30">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Video</B></font></div>
    </div></div>

    <div id="text9" style="position:absolute; overflow:hidden; left:64px; top:591px; width:110px; height:24px; z-index:31">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Kadın</B></font></div>
    </div></div>

    <div id="text10" style="position:absolute; overflow:hidden; left:61px; top:636px; width:110px; height:24px; z-index:32">
    <div class="wpmd">
    <div><font face="Times New Roman" class="ws14"><B>Finans</B></font></div>
    </div></div>

    <div id="shape5" style="position:absolute; overflow:hidden; left:745px; top:213px; width:307px; height:253px; z-index:33"><img border=0 width="100%" height="100%" alt="" src="images/shape37091953.png"></div>

    <div id="shape6" style="position:absolute; overflow:hidden; left:745px; top:468px; width:307px; height:213px; z-index:34"><img border=0 width="100%" height="100%" alt="" src="images/shape37159125.png"></div>

    <div id="text11" style="position:absolute; overflow:hidden; left:754px; top:471px; width:293px; height:36px; z-index:35">
    <div class="wpmd">
    <div align=center><font face="Viner Hand ITC" class="ws14"><I>Watoz Chat</I></font></div>
    </div></div>

    <div id="shape7" style="position:absolute; overflow:hidden; left:211px; top:420px; width:533px; height:44px; z-index:36"><img border=0 width="100%" height="100%" alt="" src="images/shape37315468.png"></div>

    <div id="shape8" style="position:absolute; overflow:hidden; left:0px; top:682px; width:743px; height:104px; z-index:37"><img border=0 width="100%" height="100%" alt="" src="images/shape37719046.png"></div>

    <div id="html3" style="position:absolute; overflow:hidden; left:8px; top:690px; width:728px; height:90px; z-index:38">
    <?php 
    include("db.php"); 
    $sorgu = mysql_fetch_array(mysql_query("SELECT * FROM reklamlar WHERE id='1'")); 
    echo $sorgu['reklam_alani'];
    ?>
    </div>

    <div id="html4" style="position:absolute; overflow:hidden; left:749px; top:218px; width:300px; height:248px; z-index:39">
    <?php 
    include("db.php"); 
    $sorgu = mysql_fetch_array(mysql_query("SELECT * FROM reklamlar WHERE id='1'")); 
    echo $sorgu['reklam_alani'];
    ?>
    </div>

    <div id="text12" style="position:absolute; overflow:hidden; left:754px; top:514px; width:289px; height:137px; z-index:40">
    <div class="wpmd">
    <div><font face="Times New Roman">Watoz chat ile kendinize arkadaş bulabilirsiniz. arkadaşlarınızla sohbet edebilirsiniz. Konuşmanın bir ihtiyaç olduğu bilerek hazırladığımız bu chat sistemi ile güvenli bir şekilde Chat yapabiliceksiniz. Günümüzün modern konuşma ve tanışma sistemi olan sanal dünya da artık watoz.net hizmetlerindede çok büyük bir chat ile sizleri birbirinizle kaynaştırmayı hedefliyoruz.</font></div>
    </div></div>

    <div id="shape9" style="position:absolute; overflow:hidden; left:745px; top:683px; width:307px; height:114px; z-index:41"><img border=0 width="100%" height="100%" alt="" src="images/shape38367421.png"></div>

    <div id="text13" style="position:absolute; overflow:hidden; left:757px; top:657px; width:289px; height:18px; z-index:42">
    <div class="wpmd">
    <div align=right><font face="Times New Roman" class="ws9">Chat Git</font></div>
    </div></div>

    <div id="image7" style="position:absolute; overflow:hidden; left:748px; top:686px; width:301px; height:106px; z-index:43"><img src="images/1272643008_kweather.png" alt="" title="" border=0 width=301 height=106></div>

    <div id="shape10" style="position:absolute; overflow:hidden; left:0px; top:787px; width:743px; height:343px; z-index:44"><img border=0 width="100%" height="100%" alt="" src="images/shape48065734.png"></div>

    <div id="shape11" style="position:absolute; overflow:hidden; left:0px; top:789px; width:743px; height:44px; z-index:45"><img border=0 width="100%" height="100%" alt="" src="images/shape48147531.png"></div>

    <div id="text14" style="position:absolute; overflow:hidden; left:4px; top:801px; width:437px; height:25px; z-index:46">
    <div class="wpmd">
    <div align=center><font face="Times New Roman" class="ws12">|&nbsp;&nbsp;&nbsp;&nbsp; Aksiyom&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; Yarış&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; Beceri&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; Macera&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; Dövüş&nbsp;&nbsp;&nbsp;&nbsp; |</font></div>
    </div></div>

    <div id="image12" style="position:absolute; overflow:hidden; left:703px; top:795px; width:31px; height:31px; z-index:47"><img src="images/1272652860_Forward.png" alt="" title="" border=0 width=31 height=31></div>

    <div id="shape12" style="position:absolute; overflow:hidden; left:745px; top:800px; width:307px; height:330px; z-index:48"><img border=0 width="100%" height="100%" alt="" src="images/shape48440671.png"></div>

    <div id="shape13" style="position:absolute; overflow:hidden; left:745px; top:800px; width:307px; height:46px; z-index:49"><img border=0 width="100%" height="100%" alt="" src="images/shape48506046.png"></div>

    <div id="text15" style="position:absolute; overflow:hidden; left:753px; top:805px; width:293px; height:36px; z-index:50">
    <div class="wpmd">
    <div align=center><font face="Viner Hand ITC" class="ws14"><I>Watoz Sormaca</I></font></div>
    </div></div>

    <div id="shape14" style="position:absolute; overflow:hidden; left:586px; top:1132px; width:466px; height:343px; z-index:51"><img border=0 width="100%" height="100%" alt="" src="images/shape48577937.png"></div>

    <div id="shape15" style="position:absolute; overflow:hidden; left:586px; top:1134px; width:466px; height:44px; z-index:52"><img border=0 width="100%" height="100%" alt="" src="images/shape48577937.png"></div>

    <div id="text16" style="position:absolute; overflow:hidden; left:591px; top:1142px; width:427px; height:25px; z-index:53">
    <div class="wpmd">
    <div align=center><font face="Times New Roman" class="ws12">Watoz Resim Galeri Fotograflar</font></div>
    </div></div>

    <div id="image15" style="position:absolute; overflow:hidden; left:1012px; top:1140px; width:31px; height:31px; z-index:54"><img src="images/1272652860_Forward.png" alt="" title="" border=0 width=31 height=31></div>

    <div id="image16" style="position:absolute; overflow:hidden; left:0px; top:1133px; width:243px; height:342px; z-index:55"><img src="images/astroloji111.gif" alt="" title="" border=0 width=243 height=342></div>

    <div id="shape16" style="position:absolute; overflow:hidden; left:246px; top:1132px; width:60px; height:343px; z-index:56"><img border=0 width="100%" height="100%" alt="" src="images/shape48759828.png"></div>

    <div id="text17" style="position:absolute; overflow:hidden; left:259px; top:1137px; width:33px; height:336px; z-index:57">
    <div class="wpmd">
    <div align=center><font color="#339966" face="Times New Roman" class="ws24">A</font></div>
    <div align=center><font color="#FF6600" face="Times New Roman" class="ws24">S</font></div>
    <div align=center><font color="#00FFFF" face="Times New Roman" class="ws24">T</font></div>
    <div align=center><font color="#FF00FF" face="Times New Roman" class="ws24">R</font></div>
    <div align=center><font color="#800000" face="Times New Roman" class="ws24">O</font></div>
    <div align=center><font color="#969696" face="Times New Roman" class="ws24">L</font></div>
    <div align=center><font color="#0000FF" face="Times New Roman" class="ws24">O</font></div>
    <div align=center><font color="#B3B300" face="Times New Roman" class="ws24">J</font></div>
    <div align=center><font color="#33CCCC" face="Times New Roman" class="ws24">İ</font></div>
    </div></div>

    <div id="shape17" style="position:absolute; overflow:hidden; left:0px; top:1477px; width:1052px; height:371px; z-index:58"><img border=0 width="100%" height="100%" alt="" src="images/shape49711765.png"></div>

    <div id="shape18" style="position:absolute; overflow:hidden; left:595px; top:1525px; width:452px; height:320px; z-index:59"><img border=0 width="100%" height="100%" alt="" src="images/shape49735390.png"></div>

    <div id="shape19" style="position:absolute; overflow:hidden; left:0px; top:1479px; width:1052px; height:44px; z-index:60"><img border=0 width="100%" height="100%" alt="" src="images/shape49772531.png"></div>

    <div id="image18" style="position:absolute; overflow:hidden; left:1014px; top:1488px; width:31px; height:31px; z-index:61"><img src="images/1272652860_Forward.png" alt="" title="" border=0 width=31 height=31></div>

    <div id="text18" style="position:absolute; overflow:hidden; left:5px; top:1489px; width:455px; height:25px; z-index:62">
    <div class="wpmd">
    <div align=center><font face="Times New Roman" class="ws12">Watoz Video Arşiv Video Sistemi</font></div>
    </div></div>

    <div id="shape20" style="position:absolute; overflow:hidden; left:596px; top:1526px; width:451px; height:46px; z-index:63"><img border=0 width="100%" height="100%" alt="" src="images/shape49830281.png"></div>

    <div id="text19" style="position:absolute; overflow:hidden; left:615px; top:1538px; width:428px; height:25px; z-index:64">
    <div class="wpmd">
    <div align=center><font face="Times New Roman" class="ws12">Son Eklenen Videolar</font></div>
    </div></div>

    <div id="shape22" style="position:absolute; overflow:hidden; left:0px; top:1851px; width:1052px; height:170px; z-index:65"><img border=0 width="100%" height="100%" alt="" src="images/shape53058453.png"></div>

    <div id="text20" style="position:absolute; overflow:hidden; left:0px; top:1856px; width:480px; height:174px; z-index:66">
    <div class="wpmd">
    <UL>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Ana Sayfa</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Haberler</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Videolar</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Tv &amp; Radyo</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Sinema</font></li>
    </UL>
    </div></div>

    <div id="text21" style="position:absolute; overflow:hidden; left:224px; top:1858px; width:245px; height:173px; z-index:67">
    <div class="wpmd">
    <UL>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Canlı Sohbet</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Finans</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Firma Rehberi</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Foto Galeri</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Hava durumu</font></li>
    </UL>
    </div></div>

    <div id="text22" style="position:absolute; overflow:hidden; left:478px; top:1860px; width:265px; height:173px; z-index:68">
    <div class="wpmd">
    <UL>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Kadın</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Oyun</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Spor</font></li>
    <li style="list-style-image: url('images/1272657724_bullet_feed.png')"><font face="Times New Roman" class="ws11">Watoz Genel</font></li>
    </UL>
    </div></div>

    <div id="shape21" style="position:absolute; overflow:hidden; left:523px; top:1133px; width:60px; height:343px; z-index:69"><img border=0 width="100%" height="100%" alt="" src="images/shape54731562.png"></div>

    <div id="text24" style="position:absolute; overflow:hidden; left:536px; top:1156px; width:33px; height:318px; z-index:70">
    <div class="wpmd">
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">Y</font></div>
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">A</font></div>
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">R</font></div>
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">I</font></div>
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">Ş</font></div>
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">M</font></div>
    <div align=center><font color="#003366" face="Times New Roman" class="ws28">A</font></div>
    </div></div>

    <div id="image19" style="position:absolute; overflow:hidden; left:345px; top:1191px; width:128px; height:128px; z-index:71"><img src="images/1272659451_BeOS_Kernel_no_halo.png" alt="" title="" border=0 width=128 height=128></div>

    <div id="text25" style="position:absolute; overflow:hidden; left:300px; top:1362px; width:230px; height:36px; z-index:72">
    <div class="wpmd">
    <div align=center><font face="Times New Roman" class="ws16">Henüz Bir Yarışma yok!</font></div>
    </div></div>

    <div id="html5" style="position:absolute; overflow:hidden; left:256px; top:1981px; width:538px; height:33px; z-index:73">

    <form action="http://www.google.com.tr/cse" id="cse-search-box" target="_blank">
    <div>
    <input type="hidden" name="cx" value="partner-pub-5249739164102739:g0z4ihjooxi" />
    <input type="hidden" name="ie" value="ISO-8859-9" />
    <input type="text" name="q" size="75" />
    <input type="submit" name="sa" value="Ara" />
    </div>
    </form>
    <script type="text/javascript" src="http://www.google.com.tr/cse/brand?form=cse-search-box&amp;lang=tr"></script>
    </div>

    <div id="html6" style="position:absolute; overflow:hidden; left:818px; top:1905px; width:200px; height:96px; z-index:74">
    <?php
    include("db.php");
    $sorgu=mysql_query("SELECT * FROM sitebilgi");
    while($verilerimiz=mysql_fetch_array($sorgu)){
    $site_alt =$verilerimiz['site_alt'];


    echo "$site_alt";
    }
    ?></div>

    </div>

    </body>
    </html>
    [/PHP]
  • 01-05-2010, 11:54:38
    #14
    Eposta Aktivasyonu Gerekmekte
    Ne hatası alıyorsun ?

    Bağlantı yaptığın dosyada error reportingi kapatmış olabilirsin ve hataları göstermiyor olabilirsin.

    Yada bağlantı kodlarında @ hata gizleme fonksiyonunu kullandın mı ? Tam hatanı söylersen ona göre yorum yazacağım. Şuan hatan görünmüyor.
  • 01-05-2010, 11:57:36
    #15
    NiZZo_ adlı üyeden alıntı: mesajı görüntüle
    Ne hatası alıyorsun ?

    Bağlantı yaptığın dosyada error reportingi kapatmış olabilirsin ve hataları göstermiyor olabilirsin.

    Yada bağlantı kodlarında @ hata gizleme fonksiyonunu kullandın mı ? Tam hatanı söylersen ona göre yorum yazacağım. Şuan hatan görünmüyor.
    işte sorunda orda hata alamıyorum. sayfanın sadece üst kısmı görünüyor ve hiç birşey görünmüyor başka...
  • 01-05-2010, 11:57:36
    #16
    son örneğinde ; include("db.php");

    ilk sorundaki örnekte ; include("sayfalar/db.php");



    db.php dosyası index.php ile aynı dizinde mi ?
  • 01-05-2010, 12:01:12
    #17
    <?php 
    include("db.php"); 
    $sorgu = mysql_fetch_array(mysql_query("SELECT * FROM reklamlar WHERE id='1'")) or trigger_error(mysql_error(),E_USER_ERROR);
    echo $sorgu['reklam_alani'];
    ?>
    yaptım hatayı görmek için de

    or trigger_error(mysql_error(),E_USER_ERROR);
    ekledim hayla boş sayfa yok bişey hata görünmüyor
  • 01-05-2010, 12:01:24
    #18
    Eposta Aktivasyonu Gerekmekte
    Şunu deneyip hatanı kontrol et bakalım

    <?php 
    include("db.php"); 
    $sorgu = mysql_query("SELECT * FROM reklamlar WHERE id='1'") or die(mysql_error());
    $aa = mysql_fetch_assoc($sorgu);
    echo $aa['reklam_alani'];
    ?>