DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `removerContacto`(nome VARCHAR(250),id INT) BEGIN DELETE FROM Contactos WHERE Nome = nome AND UsersID = id; END
mysql_query("CALL removerContacto('".$_GET['nome']."','".$_GET['uid']."')");
mysql_query("DELETE FROM Contactos WHERE Nome ='".$_GET['nome']."' AND UsersID=".$_GET['uid']."");
DELETE FROM Contactos WHERE Nome = 'someone' AND UsersID = 1;
Nome = nome
$_GET['nome']
$_Get['uid]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)