php - postgresql

From: Date: Tue, 29 Aug 2000 00:43:00 +0000
Subject: php - postgresql
Groups: php.db 
Request: Send a blank email to php-db+get-2429@lists.php.net to get a copy of this message
hi, i have postgresql 7.0 red hat 6.2 php 4.0.1 pl2 apache 1.3.12 my postgresql table is "consultas" and have : title CHAR(100) || host CHAR(40) || dir CHAR(40) || frame CHAR(100) || words TEXT . my php rutin is : for ($f=0;$f<=$number-1;++$f) { $fila = pg_fetch_row($exe,$f); // exe is the sql sentence whith my database (the conection is great and works) echo "<a href=".trim($fila[1]).trim($fila[2])."?frame=".trim($fila[3])." target=_top> go to page called (".trim($fila[1]).trim($fila[2]).")</a><br>"; } and this don't work, fila[0] and fila[4] disappear from, when i put "count($fila)" show "3" (are five fields, and only count 3) please helpme..!!!!!!! marco eyzaguirre lima - peru (sorry, my english is not very well)

« previous php.db (#2429) next »