Please ignore [PSQL and PHP]

Поиск
Список
Период
Сортировка
От Bernie Huang
Тема Please ignore [PSQL and PHP]
Дата
Msg-id 393E9263.F84CA777@ec.gc.ca
обсуждение исходный текст
Список pgsql-sql
Hello,

Never mind the last email subjected "PSQL and PHP".  I found the bug.
In PHP script, instead of using

insert into employee values (
    'Bernie',
    '{$phone, $fax, ...}'
);

or

insert into employee values (
    'Bernie',
    '{"$phone", "$fax", ...}'
);

or any other possible combo,

I should have used

insert into employee values (
    'Bernie',
    '{\"$phone\", \"$fax\", ...}'
);

Damn it!  That makes me mad!  Sorry about this.


- Bernie

Вложения

В списке pgsql-sql по дате отправления:

Предыдущее
От: Ed Loehr
Дата:
Сообщение: Re: how to know when a table is altered
Следующее
От: Gustavo Henrique
Дата:
Сообщение: sql doubts