displaying contents of array using postgres

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dprasad
Forum Newbie
Posts: 6
Joined: Fri Mar 04, 2005 10:31 am

displaying contents of array using postgres

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

nothing shows at all? Do you have a live page of this somewhere?
Post Reply