Re: [PHP-DB] anyone succeed? From: kenji chan (kenjikenji <email protected>)
Date: 11/13/00

I think the code have a problem, but I never try that:
Correct:
<?
$link=mysql_connect("host","user","pass");
 session_start();
 session_register("link");
?>

***********
deryk <deryk <email protected>> wrote in message news:8F4754C74deryk <email protected>
> as following:
> <? $link=mysql_connect("host","user","pass");
> session_register("link");?>
> i want to transfer this link var to another page via session function
> my session works well,i've tried on other vars and the $link i get is
> ok too,but just i can't transfer it correctly to another page,i also
> tried mysql_pconnect(),it's the same ,anyone ever did the same thing
> and succeeded?
> thx
> deryk
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>