$query = "INSERT INTO 'user-profiles' ('name', 'avatar', 'description', 'votes', 'pay_methods', 'location', 'user_id')
VALUES ('sadj', 'qwesad', 'sadqwdqw', '0','sadsad', 'sadasdsad''4')";
$resultprof = $this -> conn -> query($query);
votes and user_id are INT columns, and user_id is a foreign key.
Making this insert on mySQL directly it works perfectly, but on my PHP the "success" is false....