pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ryanne cruz <ryanne.cruz@up.edu.ph>
To: pgsql-php@postgresql.org
Subject: pg_result
Date: Wed, 22 Jan 2003 14:18:32 +0800
Message-ID: <1043216312.3e2e37b8b1d11@mail.up.edu.ph> (raw)

 
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! 
 



view thread (3+ messages)  latest in thread

Message-ID: <1043216312.3e2e37b8b1d11@mail.up.edu.ph>
Permalink:  ../1043216312.3e2e37b8b1d11@mail.up.edu.ph/
Also on:    postgresql.org/message-id/1043216312.3e2e37b8b1d11@mail.up.edu.ph

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: ryanne.cruz@up.edu.ph
  Subject: Re: pg_result
  In-Reply-To: <1043216312.3e2e37b8b1d11@mail.up.edu.ph>
  References: <1043216312.3e2e37b8b1d11@mail.up.edu.ph>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox