Re: HELP: Syntax Needed
| From: | Christian Reiniger | Date: | Mon, 29 Oct 2001 20:13:16 +0000 |
| Subject: | Re: HELP: Syntax Needed | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72766@lists.php.net to get a copy of this message | ||
On Sunday 28 October 2001 20:53, jtjohnston wrote:
> Jokes aside, I still don't get it.
*g*
> This works:
> mysql_pconnect($host,"AccountName","beep");
> Why doesn;'t this?
>
> $myconnection = mysql_pconnect($host,$MyTable,$MyPassword);
Compare what arguments you pass. Especially the second one. In the first
example you supply your account name. That's fine. mysql_pconnect expects
it in that place.
The second time you use the table name instead of the acctname, so it
tries to log in with username $MyTable, passwd $MyPassword
And unless you have a very weird setup this will always fail :)
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match.
- /. posting discussing the likelihood that an AC post that claimed to be
posted by John Carmack during his honeymoon (and having the login info at
home) was actually from him.