u/UnusualBecka

Multiple mysql statements in one PDO::exec call?

Is this supported or is it classed as undefined behaviour? Searching the web I have found one site explaining how to do it, and a post saying it never used to be allowed but the driver added the ability around 2020. But I have not seen anything official and the (somewhat terrible) PHP documentation does not mention it at all either way.

The use case is multiple statements being needed to create and alter some temporary tables so that inserts (using prepared statements) can be processed before being added to the live tables.

reddit.com
u/UnusualBecka — 9 days ago
▲ 20 r/veganuk

I miss you, my beloved Taifun sausages, but I will still be here when you return

In case anyone else was wondering, like I have been:

>We would like to apologise to those of you who have to do without their favourite products. We aim to gradually reintroduce the products into our range. At this time, however, we anticipate that this will not happen until early 2027.

https://www.taifun-tofu.de/en/magazine/why-is-taifun-tofu-so-hard-to-get-right-now

reddit.com
u/UnusualBecka — 2 months ago