Re: anyone succeed?
| From: | kenji chan | Date: | Mon, 13 Nov 2000 17:32:14 +0000 |
| Subject: | Re: anyone succeed? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4396@lists.php.net to get a copy of this message | ||
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@163.net> wrote in message news:8F4754C74deryk@198.186.203.51...
> 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@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>