in reply to Reusing placeholders

Simpler just to use the x operator, no?

$query->execute(("$last_y-$last_m-01") x 4);

🦛

Replies are listed 'Best First'.
Re^2: Reusing placeholders
by Bod (Parson) on Mar 27, 2021 at 23:20 UTC
    Simpler just to use the x operator, no?

    As you point it out...yes it is!
    I had forgotten about the x operator...

    Possibly because I don't think I have ever used it!