Re: PHP Related Problem
От | John Clark Naldoza y Lopez |
---|---|
Тема | Re: PHP Related Problem |
Дата | |
Msg-id | 3BB2CF6C.43136F43@ntsp.nec.co.jp обсуждение исходный текст |
Ответ на | PHP Related Problem (John Clark Naldoza y Lopez <njclark@ntsp.nec.co.jp>) |
Список | pgsql-general |
Hi, Thanks, on a previous post I've already stated that I found the culprit.. I think I got cross-eyed or something =) > > res = pg_Exec( conn, "SELECT * FROM assignment_answers" ); $res = pg_Exec( $conn, "SELECT * FROM assignment_answers" ); > if( pg_numrows( res ) != 0 ) { if( pg_numrows( $res ) != 0 ) { > for( i=0 ; i<pg_numrows( res ) ; ++i ) { for( $i=0 ; $i<pg_numrows( $res ) ; ++$i ) { > row = pg_fecharray( res, i ); $row = pg_fecharray( $res, $i ); > /* do your stuff here */ > } > } else { > /* report error or whatever */ > } > > Nix. Cheers, John Clark -- /) John Clark Naldoza y Lopez (\ / ) Software Design Engineer III ( \ _( (_ _ Web-Application Development _) )_ (((\ \> /_> Cable Modem Network Management System <_\ </ /))) (\\\\ \_/ / NEC Telecom Software Phils., Inc. \ \_/ ////) \ / \ / \ _/ phone: (+63 32) 233-9142 loc. 3113 \_ / / / cellphone: (+63 919) 399-4742 \ \ / / email: njclark@ntsp.nec.co.jp \ \ "Intelligence is the ability to avoid doing work, yet getting the work done" --Linus Torvalds
В списке pgsql-general по дате отправления: