Mistři v programování na #hovnokod

PHP #2034

studovanie hovnokodu o 3:40 rano

if(!empty($password)){
			$sql1 = "UPDATE users
						SET name = '".$club_name."',
							username = '".$username."',
							password = '".$md5_password."',
							profile_change = '".$date."'
						WHERE id = '".$user_id."'";
			$result1 = mysql_query($sql1) or die(mysql_error());
		} else {
			$sql1 = "UPDATE users
						SET name = '".$club_name."',
							username = '".$username."',
							profile_change = '".$date."'
						WHERE id = '".$user_id."'";
			$result1 = mysql_query($sql1) or die(mysql_error());
		}

Anonymous,