pg_result - Mailing list pgsql-php

From ryanne cruz
Subject pg_result
Date
Msg-id 1043216312.3e2e37b8b1d11@mail.up.edu.ph
Whole thread Raw
Responses Re: pg_result  (Andrew McMillan <andrew@catalyst.net.nz>)
Re: pg_result  (Sharmad Naik <sharmad@goatelecom.com>)
List 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 by date:

Previous
From: "Luke Woollard"
Date:
Subject: Re: Password Encryption to replicate MySQL PASSWORD function
Next
From: ryanne cruz
Date:
Subject: rtrim