I am unable to execute the query when I place name = \'$recipient\' but when I place name =\'James\' the database is getting updated. The problem is when I print $recipient,