Re: ERROR: Can't Parse "" (PG and PHP on Linux)
От
Matthew Kirkwood
Тема
Re: ERROR: Can't Parse "" (PG and PHP on Linux)
Дата
Msg-id
Pine.LNX.4.33.0208031345340.31068-100000@sphinx.mythic-beasts.com
Ответ на
ERROR: Can't Parse "" (PG and PHP on Linux) (paulie808@yahoo.com (Paul))
Список
Дерево обсуждения
ERROR: Can't Parse "" (PG and PHP on Linux) paulie808@yahoo.com (Paul)
Re: ERROR: Can't Parse "" (PG and PHP on Linux) Andrew Sullivan <andrew@libertyrms.info>
Re: ERROR: Can't Parse "" (PG and PHP on Linux) Matthew Kirkwood <matthew@hairy.beasts.org>
On 30 Jul 2002, Paul wrote:
> $strSQL = sprintf("INSERT INTO companies (comp_name, type_id) VALUES
> ('%s', %s);",$strCompName,trim($intTypeID));
Lose the trailing semicolon. The backend is probably
interpreting that as:
"insert foo" + empty statement
Matthew.
В списке pgsql-general по дате отправления