pg_result

Поиск
Список
Период
Сортировка
От ryanne cruz
Тема pg_result
Дата
Msg-id 1043216312.3e2e37b8b1d11@mail.up.edu.ph
обсуждение исходный текст
Ответы Re: pg_result
Re: pg_result
Список pgsql-php
hi list.

this is my script:

$query7="select provinceid from province where province like '$tablename1';";
$result7=pg_exec($conn,$query7);
if(!$result7){
    .
    .
    .}
else    {
    .
    .
    .
    }

my problem is when the value of the variable $tablename1 is not on the table
province, it doesn't go to the if statements. what am i doing wrong?

thanks!


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

Предыдущее
От: "Luke Woollard"
Дата:
Сообщение: Re: Password Encryption to replicate MySQL PASSWORD function
Следующее
От: ryanne cruz
Дата:
Сообщение: rtrim