10 Feb
2009
10 Feb
'09
9:23 p.m.
On Mon, Feb 9, 2009 at 2:00 PM, Larry Garfield <larry@garfieldtech.com> wrote:
That's a different question, I think. DBTNG uses arrays and named placeholders. It sounds like David is talking about XPath based queries, which are another animal entirely and not DB portable. David, can you elaborate here?
DBTNG does not allow the reuse of placeholders within the same query, because PDO doesn't either.
--Larry Garfield
Well technically only certain versions of the PDO don't allow it: http://paul-m-jones.com/?p=243 I can't find the php.net issue for this but I seem to remember that the change was eventually reverted leaving a band of versions that don't allow it. andrew