|
|
|
This example list another page if you want to see the tables for the database. That file
I have called dblookup.php and it can be seen at :
http://www.weberdev.com/get_example.php3?count=1606
<TABLE border=0>
<?
$dbname="template1";
$query="SELECT datname, datdba"
." FROM pg_database"
." where datdba='507'"
." order by datname";
$db_conn = pg_connect ("", "", "", "", $dbname);
$qw = pg_exec ($db_conn, $query);
$row = 0;
while ($data2 = pg_fetch_object ($qw,$row)):
$i+1;
?>
<TR><FORM ACTION="dblookup.php" METHOD="post">
<INPUT TYPE="hidden" NAME="dbname" VALUE="<?echo $data2->datname?>">
<TD width=100 align=Center>
<BUTTON type="submit">
<TABLE width=100><TR><TD width=100 align=Center><FONT COLOR=#FFFF33><B><?
echo $data2->datname?></B></FONT></BUTTON></TD></TR></TABLE>
</TD>
</FORM></TR>
<?
$row++;
endwhile;
pg_freeResult ($qw);
pg_close ($db_conn);
?>
</TABLE> |
|
| PostGreSQL and MySQL 2 in 1 db Manager Categories : PHP, PHP Classes, Databases, PostgreSQL, MySQL | | | Script for postgresql to walk through the results limiting the results shown per
page. Categories : PostgreSQL, Databases, PHP | | | Monthly and Daily Upcoming Events calendar. Categories : Date Time, PostgreSQL, PHP, Calendar, Databases | | | AUTH (.htaccess style) - a login system that uses PostgreSQL. Categories : PHP, Authentication, Databases, PostgreSQL | | | DBE - Database Expander: Edit PostgreSQL individual database tables online via your Web browser! Categories : PostgreSQL, Complete Programs, Databases, PHP Classes, PHP | | | dblookup.php, PHP, POSTGRESQL PostgreSQL, Database ADMIN, Web
Interface Categories : PHP, PostgreSQL | | | Using Postgres and PHP3 Authentication from a Web application Categories : PostgreSQL, HTML and PHP, Authentication, PHP | | | pg_client_encoding -- Get the client encoding Categories : PHP, PHP Functions, PostgreSQL | | | Save and restore files into postgresql database (PHP SCRIPT) PHP CLASS Categories : PHP, Databases, PostgreSQL, Filesystem | | | Is there any way to test that the $result has null values or not without reading the field values in the results in postgre?
Categories : PostgreSQL, PHP, Databases | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | This is a database wrapper for PostgreSQL, but can be simply modified for any other database type. Categories : Databases, PostgreSQL, PHP | | | Postgresql Database Backup And Restore PHP script Categories : PHP, Databases, PostgreSQL | | | This is a function to display a table for Postgres results. This this code in an include file, require it, and call ShowResults($result) whenever you need to see what your queries result in. Categories : Databases, PHP, PostgreSQL | | | A small message board using PostgreSQL Categories : PostgreSQL, General, PHP | |
|
|
|