"Janbro" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi I connect to a MySQL 4.1 with the following String:
>
>
> if
> ($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n
> ame"))
>
> watch the i in mysqli_connect!
>
> I think I've read somewhere that you are required to use that for the >4.1
> Versions, but you
>
> better look that up, I might be wrong there.
>
> Hope this helps
>
> JanBro


Thank you. Yes I know that there are two versions of interfaces to MySQL and 
the newer version has the "i" in it. Perhaps I should use it, but I thought 
the older version works also. I am using mysql_connect because the tutorial 
I started using uses it. Obvioulsy mysql_connect is in php version 5 so it 
should work.

So I hope no one thinks that my question has been answered.

If there is something stating that mysql_connect is not supposed to be used 
then it would help to know where that is said.

Otherwise it would help to know what to look for as possible causes, 
assuming that the host, user and password are correct.

Also, are the warning messages documented? As I asked in my original 
question, is 10061 an error code?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to