Re: help !!!

Поиск
Список
Период
Сортировка
От Cornelia Boenigk
Тема Re: help !!!
Дата
Msg-id 004201c2162b$a378c140$7f54fea9@zwerg98
обсуждение исходный текст
Ответ на help !!!  ("Alxander A. Kapralov" <sasha@province.ru>)
Список pgsql-php
Hi Alxander

> $r = pg_fetch_object($result, $i);
This syntax is valid since PHP 4.2.0. Are you sure that you use no
older PHP-Version?


>         $result = pg_Exec( $db, $str );
>         if ($result = pg_Exec( $db, $str ) != false && ($num =
> pg_numrows($result)) ) {

In the second line of the code-snippet you execute pg_exec a second
time. Write instead:

        $result = pg_Exec( $db, $str );
        if ($result  && ($num = pg_numrows($result))) {

Regards
Conni


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

Предыдущее
От: "Alxander A. Kapralov"
Дата:
Сообщение: Re: help !!!
Следующее
От: "Jules Alberts"
Дата:
Сообщение: Re: good PHP book for postgresql frontend