|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-04-16 15:09 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 22:00:01 2025 UTC |
Description: ------------ if I make a table with a name like 'user' or 'order', any use with it in SQL should be double quoted for instance: SELECT * FROM "user"; But pg_insert doesn't do this: pg_insert($connection,'user',$fields); will result in an error showing the tablename 'user' not between double quotes. Reproduce code: --------------- pg_insert($connection,'user',$fields); Actual result: -------------- [Fri Apr 16 11:29:34 2004] [error] PHP Notice: pg_insert(): Failed to execute 'INSERT INTO user (name,username,password,email,region,number) VALUES ('','','','','',1);'. in /var/www/skileurope.com/displayshop/kernel.php on line 90