Question regarding the scope of pg_prepare

From: Date: Fri, 14 Apr 2006 10:58:46 +0000
Subject: Question regarding the scope of pg_prepare
Groups: php.db 
Request: Send a blank email to php-db+get-41702@lists.php.net to get a copy of this message
I have a few different pg_prepare statements in my PHP script. I was wondering what scope they lie in. Im assuming they are not saved in the PSQL database, so it is just for the script? They are inside of functions... does it only last until the function exists? I just dont want to keep on calling it if I don't have to. Or do I need to call it each time the function is called. Trying to do some proper coding :) Thanks Will -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

« previous php.db (#41702) next »