Re: PostgreSQL - PHP insert deleted from database immediately?

Поиск
Список
Период
Сортировка
От Sami
Тема Re: PostgreSQL - PHP insert deleted from database immediately?
Дата
Msg-id 9cs673$qnr$1@tron.sci.fi
обсуждение исходный текст
Ответ на Re: PostgreSQL - PHP insert deleted from database immediately?  (Ricardo Campos Passanezi <riccp@ige.unicamp.br>)
Список pgsql-general
 > The insert statement executed from php is:
> >
> >      $otsikko = "Insert testi";
> >      $teksti = "Koeteksti 1";
> >
> >      $sqllause = "INSERT INTO jutut (otsikko,teksti) VALUES ('";
> >      $sqllause = $sqllause . $otsikko . "','" . $teksti . "');";
>
> Have you tried without the ";"? Just like:
>
> $sqllause = "INSERT INTO jutut (otsikko,teksti) VALUES ('";
> $sqllause = $sqllause . $otsikko . "','" . $teksti . "')";

Yes, tried it, didn't work.
Still at a loss as to what the problem is.
I haven't even had the time to figure out a workaround if there is any as
the problem is a pretty basic one.

Could it possibly be a problem with the database configuration?





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

Предыдущее
От: "guard"
Дата:
Сообщение: Not make
Следующее
От: "Simon Crute"
Дата:
Сообщение: Building DBD::Pg