Jump to content
php.lv forumi

else murgs?


stencilz

Recommended Posts

if($count_2 == "0" && $who['win2'] == "")
  {
	mysql_query("UPDATE table SET win2='no' WHERE user='".$id."'");
  }
else if($count_2 > "0" && $who['win2'] == "")
  {
	mysql_query("UPDATE table SET win2='yes' WHERE user='".$id."'");
  }

 

$count_2 ir nulle, taču tabulā ievietojas yes, kā tas ir iespējams? man domāt ka tas ir saistīts ar else, vai tā ir?

Link to comment
Share on other sites

×
×
  • Create New...