Просмотр поста

.
dakilla2
# Alexis22 (29.01.2016 / 21:20)
$mas = mysql_query
( "select * from
`m_player` where id='" .
$id . "';") ;
if ( mysql_num_rows ( $mas ))
{
$rep = mysql_fetch_array
( $mas ) ;
if ( $rep [ 'tal' ] == 3 ||
$rep [ 'mas' ] => 50
if ( $rep [ 'tal' ] == 3 || $rep [ 'mas' ] => 50 )
исправте на
if ( $rep [ 'tal' ] == 3 && $rep [ 'mas' ] => 50 )
иначе получается что игроку с талантом 3 или $rep [ 'mas' ] => 50 нельзя качать мастерство