Trying to use this newer form of connection with mysql_init() and mysql_real_connect instead of mysql_connect(). When I try to recode and use this, I get the following: call to undefined function: mysql_init(). What am I doing wrong? mysql_connect() works just fine though. Thanks in advance. :)

mysql version is 4.0.12 for apple-darwin6.4
php is 4.3.1

sample code:
if (mysql_init($conn) == '') $errno = 1;
if (mysql_real_connect($mysql, "localhost", "gale", "", "ornl", 0, "", 0) == '') $errno = 1;

  Gale L. Allen Jr
  Macintosh Support Specialist
  Phone: 919/412-5039
  Homepage: http://homepage.mac.com/ateam3/Menu5.html
  Email me - mailto:[EMAIL PROTECTED]

  "Remember, Love wins over all"

Reply via email to