Php > Databases
This is a function to display a table for Postgres results
This is a function to display a table for Postgres results \n"); /* Create the headers */ echo( "
\n"); for($i = 0; $i < $cols; $i++) { printf( "
%s
\n", pg_FieldName($result, $i)); } echo( "
"); for($j = 0; $j < $rows; $j++) { echo( "
\n"); for($i = 0; $i < $cols; $i++) { printf( "
%s
\n", pg_result($result, $j, $i)); } echo( "
"); } echo( ""); } else { echo(pg_errormessage); } } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage