<?php
// <span style="border-bottom: 1px dotted black;">MYSQL</span> CONNECT SHIT.
$getcode = "SELECT Kodas FROM users WHERE user='$_SESSION[fusion_user]'";
$coderesult = mysql_query($getcode);
// Ten formos ir kiti šudai
if(isset($_POST['buttonform'])){
if($_POST['kodas'] == $coderesult){
print "Kodas sutampa!!!!";
}
}
?>