[phplib-dev] database connect to session From: Martin Spevak (singer <email protected>)
Date: 05/24/01

Hello,
i have got a little problem in php...

i have got 2 pages

1st.php
<?
session_register("db_con");
// i try it with postges,mssql..
$db_con=pg_connect("host=localhost dbname="nieco");
<a href="2nd.php">next</next>
?>

2nd.php
<?
//THIS WILL BE false
pg_exec($db_con,"select * from haluza");
?>

WHY? is anybody here who was this problem and know result? ;-)

                                by

         _____
 ___________(_)_______ _______ ______ ________
 __ ___/__ / __ __ \__ __ `/_ _ \__ ___/ _________CRAZY user__________
 _(__ ) _ / _ / / /_ /_/ / / __/_ / /
 /____/ /_/ /_/ /_/ _\__, / \___/ /_/ singer <email protected> /
                       /____/ http://fornax.elf.stuba.sk/~singer
Martin Spevak tel.c.: +421 07 - 448 888 05 /
Na pasekach 14, 831 06 Bratislava, Slovensko___________________________/

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>