I have stored procedure in MySQL, something like the below:
create procedure SP_Test (input1 varchar(20)) begin update Table1 set Val1=\'Val\' where country=
Try the following code:
int mysql_affected_rows ([ resource $link_identifier = NULL ] )