From: | ryanne cruz <ryanne(dot)cruz(at)up(dot)edu(dot)ph> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | pg_result |
Date: | 2003-01-22 06:18:32 |
Message-ID: | 1043216312.3e2e37b8b1d11@mail.up.edu.ph |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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!
From | Date | Subject | |
---|---|---|---|
Next Message | ryanne cruz | 2003-01-22 06:25:28 | rtrim |
Previous Message | Luke Woollard | 2003-01-22 04:28:52 | Re: Password Encryption to replicate MySQL PASSWORD function |