in reply to Increase a value inside MySQL query using perl

G'day AhmedABdo,

As a starting point, take a look at DBI: Placeholders and Bind Values.

The information in your post is rather vague and has forced me to make guesses. For instance, my first guess about Input was that it's supposed to be what's in your database; however, I see no SQL select statements to read this data. It could be from a file but there's no code performing I/O to read it. In fact, I see nothing where you get this Input.

Here's some suggestions:

Finally, telling us "it does not work" is not at all helpful. See "How do I post a question effectively?" for more details.

— Ken