Re: [SQL] booleans

Поиск
Список
Период
Сортировка
От Gregory Holston
Тема Re: [SQL] booleans
Дата
Msg-id Pine.SUN.3.91.981229174732.16696A-100000@shell
обсуждение исходный текст
Ответ на Re: [SQL] booleans  (Eric McKeown <ericm@palaver.net>)
Список pgsql-sql
I wouldn't think it would have any problem handling this code either,
code I used was :
if( $id ) {
        pg_Exec($conn, "INSERT into authors
        values ('$pubrelease', '$id', '$first');");
        }
First was the variable where the boolean, t or f was to be placed in the
HTML form.  I did not put quotes insert them with quotes for this is
already done with the PHP.  This works for int, text, etc. hich was why I
was surprised by the error message.

-Greg



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

Предыдущее
От: jcc2@juno.com (John C Cusick)
Дата:
Сообщение: Regex
Следующее
От: Eric Marsden
Дата:
Сообщение: UPDATE table SET col = (SELECT ...)