它不会执行我的更新查询

I have this procedure called updates:

DROP PROCEDURE IF EXISTS `updates`$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `updates` (IN `ids` INT(11), IN `name` VARCHAR(20), IN `ape` VARCHAR(20), IN `pass` VARCHAR(20), IN `dpto` VARCHAR(20), IN `rols` VARCHAR(20))  BEGIN
UPDATE usuario SET name_user=name, apellidos=ape, pw_user = pass, depto=dpto, rol_user=rols WHERE id_user=ids;
END$$

And this is my php code:

$query= "CALL updates('".$_POST['id_user']."','".$_POST["usern"]."' ,'".$_POST["apell"]."' ,  '".$_POST["passwd"]."' , '".$_POST["depto"]."' , '".$_POST["rolu"]."')";

But it doesn't execute, please help :(

Try something like this..

$query = "{CALL dbo.updates
('".$_POST['id_user']."','".$_POST["usern"]."' ,'".$_POST["apell"]."'
,  '".$_POST["passwd"]."' , '".$_POST["depto"]."' ,
'".$_POST["rolu"]."') }";