Alıntı
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/filyorg/public_html/hosting/main.php on line 48
Yukardaki hatayı nasıl düzeltebilirim???Düzeltebilecek olan varsa aşşağıya kodları verdim...Yardım edebilecek arkadaşlara şimdiden teşekkürler!..


Main.php

Alıntı
<style type="text/css">
<!--
.style24 {color: #FFFFFF}
.inputbuton { FONT-SIZE: 11px; COLOR: #000033; FONT-FAMILY: verdana; BACKGROUND-COLOR: #ffffff
}
.tdmenualt { FONT-SIZE: 7pt; COLOR: #004e6b; FONT-FAMILY: verdana; BACKGROUND-COLOR: #ffffff
}
.tdmenuust { BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT-SIZE: 8pt; BORDER-LEFT: medium none; COLOR: #FFFFFF; LINE-HEIGHT: normal; BORDER-BOTTOM: medium none; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
.style25 { color: #FFFFFF;
font-weight: lighter;
}
.style7 {font-size: 11px; color: #FFFFFF;}
-->
</style>
<TABLE WIDTH="600" BORDER=0 align="left" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD height="100"><TABLE cellSpacing=0 cellPadding=0 width="600" height="150" align="center" border=0>
<TBODY>
<TR>
<TD height="24" bgcolor="#B4B4B4" vAlign=top width=300><IMG height=24 src="images/news.jpg" width=300></TD>
<TD width="1"><img src="images/pix.gif"></TD>
<TD height="24" bgcolor="#CACACA" vAlign=top width=97><IMG height=24 src="images/campaign.jpg" width=149></TD>
<TD width="1"><img src="images/pix.gif"></TD>
<TD height="24" bgcolor="#E6E6E6" vAlign=top width=97><IMG height=24 src="images/info.jpg" width=149></TD>
</TR>
<TR>
<TD height="24" bgcolor="#B4B4B4" vAlign=top width="300"><table style="FONT-SIZE: 8pt; COLOR: #001b6c; FONT-FAMILY: Arial" height="100%"
cellspacing="1" cellpadding="0" width="100%" border="0">
<tbody>
<tr valign="top">
<td class="tdmenuust" valign="top" width="100%" height="20"><div id="promandiv2" style="DISPLAY: none; CURSOR: hand" onclick="ChangeMenu('proman','promandiv','promandi v2');"> <img border="0" src="images/haberler_arr.gif" width="9" height="11" /> <font color="#FFFFFF">100 Mbit/sec eri&thorn;im kapasitesi</font> </div>
<table class="inputbuton" id="proman"
style="DISPLAY: none; FONT-SIZE: 10px; COLOR: #038b90" height="25"
cellspacing="1" cellpadding="1" width="100%" border="0">
<tbody>
<tr>
<td width="4"> </td>
<td class="tdmenualt" style="CURSOR: hand"
onclick="parent.b2e.location='adres gelecek'"> 10 Mbit/sec eri&thorn;im kapasitemiz 100 Mbit/sec olarak güncellenmi&thorn;tir hizmet kalitemizi art&yacute;rmak için her geçen gün yeni serverlar&yacute;m&yacute;z ve yeni hat kapasiteleriyle kar&thorn;&yacute;n&yacute;zda olmak dile&eth;iyle Zkare. </td>
</tr>
</tbody>
</table>
<?
include "ayar.php";
$islem="SELECT * FROM haberler WHERE no ORDER BY no DESC LIMIT 4";
$sonuc=mysql_db_query($dbname,$islem);
while ($php=mysql_fetch_array($sonuc))
{
?>
<table width="299" border="0" cellpadding="5" cellspacing="0">
<tbody>
<tr>
<td width="291" height="18" bgcolor="#B2B2B2"><span class="style7"> <img src="images/haberler_arr2.gif" width="9" height="11" /> <a href="index.php?sayfa=haberler&no=<?=$php[no];?>"> <span class="style25">
<? echo htmlspecialchars(substr($php[baslik],0,40)); echo "..";?>
</span></a></span></td>
</tr>
</tbody>
</table>
<? } ?></td>
</tr>
<tr>
<td height="100%"></td>
</tr>
</tbody>
</table></TD>
<TD width="1"><img src="images/pix.gif"></TD>
<TD height="24" bgcolor="#CACACA" vAlign=middle width=97><table width="50" border="0" align="center">
<tr>
<td><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="140" height="113" align="top">
<param name="movie" value="images/kampanya.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#CACACA" />
<embed src="images/kampanya.swf" width="140" height="113" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#CACACA"></embed>
</object></td>
</tr>
</table></TD>
<TD width="1"><img src="images/pix.gif"></TD>
<TD width=97 height="24" vAlign=middle bgcolor="#E6E6E6"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="149" height="112">
<param name="movie" value="images/bilgi.swf">
<param name="quality" value="high"><param name="BGCOLOR" value="#E6E6E6">
<embed src="images/bilgi.swf" width="150" height="112" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#E6E6E6"></embed>
</object></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD height="5"><img src="images/pix.gif"></TD>
</TR>
<TR>
<TD><TABLE width="600" height="150" border="0" cellpadding="0" cellspacing="0">
<TBODY>
<TR>
<TD width="4"><img src="images/divider.gif" alt="" width="1"></TD>
<TD width="148"><TABLE cellSpacing=0 cellPadding=0 width=143 align="center" border=0>
<TBODY>
<TR>
<TD vAlign=top width="143" height="129" colspan="3" background="images/b_1.jpg"><div align="center">
<p class="index_text3"> </p>
<p class="index_text3"><FONT size=2><STRONG><br>
<span class="style24">50 MB</span></STRONG><span class="style24"> Alan,</span></FONT><span class="style24"><BR>
2 GB Transfer/Ay<BR>
25 Pop3 E-mail<BR>
3 MySQL Database,<BR>
Php,Cgi,Perl</span> </p>
</div></TD>
</TR>
<TR>
<TD valign="middle" width="93"><div align="center"><span class="index_text3"><b class=index_fiyat style26> Yıllık 8$<br>
<b class=index_fiyat style26><b class=index_fiyat style26>Aylık --</b><br>
</b></b></span></div></TD>
<TD ><div align="right"><a href="index.php?sayfa=hosting"><img src="images/incele.jpg" width="25" height="40" border="0" /></a></div></TD>
<TD><div align="right"><a href="index.php?sayfa=domainpaket&no=1"><img src="images/satinal.jpg" width="25" height="40" border="0" /></a></div></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width="4"><img src="images/divider.gif" alt="" width="1"></TD>
<TD width="148"><TABLE cellSpacing=0 cellPadding=0 width=143 align="center" border=0>
<TBODY>
<TR>
<TD vAlign=top height="129" colspan="3" background="images/b_2.jpg"><div align="center">
<p class="index_text3"> </p>
<p class="index_text3"><FONT size=2><STRONG><br>
<span class="style24">250 MB</span></STRONG><span class="style24"> alan,</span></FONT><span class="style24"><BR>
6 GB Transfer/Ay<BR>
80 Pop3 E-mail<BR>
5 MySQL Database,<BR>
Php,Cgi,Perl</span> </p>
</div></TD>
</TR>
<TR>
<TD valign="middle" width="93"><div align="center"><span class="index_text3"><b class=index_fiyat style26> Yıllık 12$<b class=index_fiyat style26><br>
Aylık 4$</b></b></span></div></TD>
<TD ><div align="right"><a href="index.php?sayfa=hosting"><img src="images/incele.jpg" width="25" height="40" border="0" /></a></div></TD>
<TD><div align="right"><a href="index.php?sayfa=domainpaket&no=2&y=1"><img src="images/satinal.jpg" width="25" height="40" border="0" /></a></div></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width="4"><img src="images/divider.gif" alt="" width="1"></TD>
<TD width="148"><TABLE cellSpacing=0 cellPadding=0 width=143 align="center" border=0>
<TBODY>
<TR>
<TD vAlign=top height="129" colspan="3" background="images/b_3.jpg"><div align="center">
<p class="index_text3"> </p>
<p class="index_text3"><FONT size=2><STRONG><br>
<span class="style24">350 MB</span></STRONG><span class="style24"> alan,</span></FONT><span class="style24"><BR>
12 GB Transfer/Ay<BR>
120 Pop3 E-mail<BR>
10 MySQL Database,<BR>
Php,Cgi,Perl</span> </p>
</div></TD>
</TR>
<TR>
<TD valign="middle" width="93"><div align="center"><span class="index_text3"><b class=index_fiyat style26> Yıllık 19$<b class=index_fiyat style26><br>
Aylık 6$</b></b></span></div></TD>
<TD ><a href="index.php?sayfa=hosting"><img src="images/incele.jpg" width="25" height="40" border="0" /></a></TD>
<TD><a href="index.php?sayfa=domainpaket&no=3&y=1"><img src="images/satinal.jpg" width="25" height="40" border="0" /></a></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width="4"><img src="images/divider.gif" alt="" width="1"></TD>
<TD width="148"><TABLE cellSpacing=0 cellPadding=0 width=143 align="center" border=0>
<TBODY>
<TR>
<TD vAlign=top height="129" colspan="3" background="images/b_4.jpg"><div align="center">
<p class="index_text3 style24"> </p>
<p class="index_text3 style24"><FONT size=2><STRONG><br />500 MB</STRONG> alan,</FONT><BR>
24 GB Transfer<span class="style24">/Ay</span><BR>
180 Pop3 E-mail<BR>
20 MySQL Database,<BR>
Php,Cgi,Perl </p>
</div></TD>
</TR>
<TR>
<TD valign="middle" width="93"><div align="center"><span class="index_text3"><b class=index_fiyat style26> Yıllık 29$<b class=index_fiyat style26><br>
Aylık 8$</b></b></span></div></TD>
<TD ><div align="right"><a href="index.php?sayfa=hosting"><img src="images/incele.jpg" width="25" height="40" border="0" /></a></div></TD>
<TD><div align="right"><a href="index.php?sayfa=domainpaket&no=4&y=1"><img src="images/satinal.jpg" width="25" height="40" border="0" /></a></div></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width="4"><img src="images/divider.gif" alt="" width="1"></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD valign="middle" width="600" height="1" background="images/divider2.gif"></TD>
</TR>
<TR>
<TD> </TD>
</TR>
<tr bgcolor=#B4B4B4>
<td height="18" colspan="4" bgcolor="#FFFFFF"><table id="v14-h-tasks" border="0" cellpadding="0" cellspacing="0" width="600">
<tbody>
<tr valign="top">
<td style="background-color: rgb(247, 247, 247);" onMouseOut="scbg(this, 0);" onMouseOver="scbg(this, 1);" width="300"><table border="0" cellpadding="0" cellspacing="0" width="290">
<tbody>
<tr>
<td colspan="2" class="tp"><b>Yardım Ve Destek </b></td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td width="9"><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td width="281">7/24 Ticket Destek Servisi</td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>Sms Uyarı Sistemi </td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>7/24 Telefon ve Msn Destek Hizmeti</td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>Haftalık Yedekleme </td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>15 Gün Koşulsuz Para İade Garantisi </td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>128Bit SSL ile Güvenli Ödeme</td>
</tr>
</tbody>
</table></td>
<td style="background-color: rgb(247, 247, 247);" onMouseOut="scbg(this, 0);" onMouseOver="scbg(this, 1);" width="300"><table border="0" cellpadding="0" cellspacing="0" width="288">
<tbody>
<tr>
<td colspan="2" class="tp"><b>Sunucu Özelliklerimiz </b></td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td width="9"><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td width="279">Php 5.2.0 ve Mysql 5.0.19 Desteği</td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>Firewall Koruması </td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>DDOS Koruması </td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>Online Spam Koruması</td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>Apache 2.0.59</td>
</tr>
<tr onMouseOut="style.backgroundColor='#F7F7F7';" onMouseOver="style.backgroundColor='#D9E2EA'" class="bullet-list">
<td><img src="images/oj-bullet.gif" alt="" height="8" width="2"></td>
<td>Sayfa İstatistik Programı. </td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</TABLE>