In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
wrote:

> are INSERT INTO statements forbiden inside a function??

Assuming that you're referring to a PHP function and not a function of the 
RDBMS, no it's not forbidden.  Show the relevant snip of code and any error 
messages being reported.  Most likely, you've got a typo or syntactical 
problem that's causing the insert to fail (ex. forgetting to bring a global 
var into the function's local scope, an extra curly brace, missing quote, 
etc.).

-- 
CC

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to