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