in reply to Increase a value inside MySQL query using perl

I did this code, but it does not work.

Why do you think that is?

have you checked to see if the value of  $add_max changes after each iteration of the loop?

Replies are listed 'Best First'.
Re^2: Increase a value inside MySQL query using perl
by AhmedABdo (Acolyte) on Oct 14, 2015 at 00:17 UTC
    yes, but I want to change the value of ID which does not change

      yes, but I want to change the value of ID which does not change

      So what do you think you have to do to get $add_max to change?