This has been covered before, but to reiterate: why would you need this? Any application worth its salt should be tracking which statements it has already prepared (after all, they cannot span connections). Seems a waste of resources to make a separate call to the database for information you should already know.
Erm, websites...use persistent connections...you have no idea if you're dealing with a new connection or a reused one, and if the statement is prepared or not.
Chris ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly