in reply to Reusing placeholders
Simpler just to use the x operator, no?
$query->execute(("$last_y-$last_m-01") x 4); [download]
🦛
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!