* Thus wrote Sam Hobbs:
> "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
> 
> 
> When I do try mysqli_connect, I get:
> 
>     Fatal error:  Call to undefined function mysqli_connect()
> 
> So obviously I need to do something to enable that. I will look into that 
> later, but I am still trying to get mysql_connect to work.

RTFM.

mysql:
  This MySQL extension doesn't support full functionality of MySQL
  versions greater than 4.1.0. For that, use MySQLi.

mysqli:
  The mysqli extension is designed to work with the version 4.1.3 or
  above of MySQL.



Curt
-- 
The above comments may offend you. flame at will.

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

Reply via email to