Page 1 of 1

displaying contents of array using postgres

Posted: Fri Mar 04, 2005 2:04 pm
by dprasad
trying this:

Code: Select all

$query21 = "select frequency from reg.rur where app=1 and access='local' group by frequency";

     $result21 = pg_query($connection, $query21) or die("error");
     
     $rowct1 = pg_num_rows($result21);
     
     echo $rowct1;

     $arr7 = pg_fetch_array($result21, 0, PGSQL_NUM);

     for ($i2=0; $i2<rowct1; $i2++) &#123;
     echo "Frequency of use for individual ArcView 3.x users: $arr7&#1111;$i2].";
     &#125;
Nothing shows up, any ideas? Thanks!

Dinesh

Posted: Fri Mar 04, 2005 2:48 pm
by feyd
nothing shows at all? Do you have a live page of this somewhere?