Re: PostgreSQL - PHP insert deleted from database immediately?

From: "Sami" <samihREM-ME(at)email(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL - PHP insert deleted from database immediately?
Date: 2001-05-03 18:01:42
Message-ID: 9cs673$qnr$1@tron.sci.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Terry Fielder 2001-05-03 18:11:20 Autonumber
Previous Message Peter Eisentraut 2001-05-03 17:49:49 Re: ODBC 3.0 functions (UCASE, LCASE, etc.)