php-db | 2001072
Date: 07/28/01
- Next message: phpnet <email protected>: "Re: [PHP-DB] Re: function ?? SOLVED"
- Previous message: Caleb Walker: "Re: [PHP-DB] Retrieving Rows - Can I Change The Order?"
- In reply to: phpnet <email protected>: "[PHP-DB] function ??"
- Next in thread: phpnet <email protected>: "Re: [PHP-DB] Re: function ?? SOLVED"
- Reply: phpnet <email protected>: "Re: [PHP-DB] Re: function ?? SOLVED"
- Reply: olinux o: "[PHP-DB] Warning: Page has Expired"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <3B62551026C.3F66PHPNET <email protected>>, phpnet <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: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: phpnet <email protected>: "Re: [PHP-DB] Re: function ?? SOLVED"
- Previous message: Caleb Walker: "Re: [PHP-DB] Retrieving Rows - Can I Change The Order?"
- In reply to: phpnet <email protected>: "[PHP-DB] function ??"
- Next in thread: phpnet <email protected>: "Re: [PHP-DB] Re: function ?? SOLVED"
- Reply: phpnet <email protected>: "Re: [PHP-DB] Re: function ?? SOLVED"
- Reply: olinux o: "[PHP-DB] Warning: Page has Expired"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

