Cannot simply use PostgreSQL table name (“relation does not exist”)

后端 未结 11 2647
一向
一向 2020-11-22 05:35

I\'m trying to run the following PHP script to do a simple database query:

$db_host = \"localhost\";
$db_name = \"showfinder\";
$username = \"user\";
$passwo         


        
11条回答
  •  遥遥无期
    2020-11-22 05:53

    Easiest workaround is Just change the table name and all column names to lowercase and your issue will be resolved.

    For example:

    • Change Table_Name to table_name and
    • Change ColumnName to columnname

提交回复
热议问题