Jump to content

EROR : value in write context


karker

Recommended Posts

Hi dear friends hi have a problem about down codding can anybody help me

where i am doing bad quest i am taking this EROR  help please

 

Fatal error: Can't use function return value in write context in I:\EasyPHP-5.3.2i\www\eloyunlar\actions\aramalar.php on line 15

 

 

 

<?php
include("../baglantilar/baglan_canim.php");
include("../baglantilar/fonksiyonlar.php");
if (!isset($_SESSION)) { 
session_start();}

if(isset($_POST[oyun]))
{ 

$strln123 = strlen($_POST[oyun]);
                if($strln123 >2) {
                               $gln_kelime = $_POST[oyun];
//li direjtira peyva tinen mezintira 2 ? em di qontrol dikin                                                               


$kml_Vrs = mysql_query("select etiket from cud_hizli_linkler where etiket = '$gln_kelime' limit 1");
                                                                                              if (mysql_num_rows($kml_Vrs) =!0) {
                                                                                                              
                                                                                                                                             mysql_query("UPDATE cud_hizli_linkler set hit=hit+1 where etiket = '$gln_kelime' limit 1");
                                                                                                                                                                                                                                           } else  { 


                                                                                              // ger peyva tinen em bi pirsin  bê qeydê ji vi hene yan tünen  ?                                                                                                        

   $p_etiketii = permayap($_POST[oyun]);                             
                                                                                               $yyever  = mysql_query("SELECT id FROM oyunlar WHERE MATCH (icerik) AGAINST ('$gln_kelime' IN BOOLEAN MODE)  limit 1 ");
                                                                                                                                                                                            if(mysql_num_rows($yyever) !=0){
                                                                                              
                               
                                                                                                                                             
                 mysql_query("INSERT INTO cud_hizli_linkler (`etiket`, `etiket_seo`, `sonuc`, `hit`, `onay`) VALUES ('$gln_kelime','$p_etiketii', '1', '1', '1');");             
                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                         } else {
                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                             mysql_query("INSERT INTO cud_hizli_linkler (`etiket`, `etiket_seo`, `sonuc`, `hit`, `onay`) VALUES ('$gln_kelime','$p_etiketii', '0', '1', '1');");                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                         }
                               
                                                                                                                                                                                                                                                                          }
                                               }
$url =  "oyun/".$gln_kelime."htm";
header('Location : '.$url.'');

} else { 
$url =  "404.htm";
header('Location : '.$url.'');
}

?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.