Pikasz,

> >...then appear the next error and I don't understand why:
> >Fatal error: Call to undefined function: mysql_connect() in
> >/var/www/html/vk/vk.php on line 11

Looks like MySQL has not been enabled in your PHP installation. Check
with phpinfo() to find out.

Regards,
--
  Stefan Hinz <[EMAIL PROTECTED]>
  Geschäftsführer / CEO iConnect GmbH <http://iConnect.de>
  Heesestr. 6, 12169 Berlin (Germany)
  Tel: +49 30 7970948-0  Fax: +49 30 7970948-3

----- Original Message -----
From: "Doug Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Pikasz Gyorgy" <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 8:58 PM
Subject: Re: Fatal error


> 1.  This is a PHP syntax question.
> 2.  The PHP manual gives a specific example in the MySQL Functions.
>
> $link =  mysql_connect("localhost", "webuser", "webpass")
>
>
> Doug
>
>
>
> On Sun, 29 Dec 2002 20:11:14 +0200, Pikasz Gyorgy wrote:
>
> >Hi all!!!
> >Red Hat 7.3, MySQL, PHP
> >I tried to connect to MySQL server with my login name and password,
with the
> >next command in my php's file:
> >  mysql_connect("localhost", "webuser", "webpass")
> >In the mysql.user table exist webuser/webpass and in mysql.db table
too for
> >an specified database.
> >...then appear the next error and I don't understand why:
> >
> >Fatal error: Call to undefined function: mysql_connect() in
> >/var/www/html/vk/vk.php on line 11
> >
> >Thanks
> >
> >picas



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to