Forums
This topic is locked
Undefined error - Dreamweaver & Mysql Connection
Posted 28 Jun 2005 22:57:56
1
has voted
28 Jun 2005 22:57:56 adrian arce posted:
HI :
I'm using : XPOS, MYSQL 4, IIS 5.0 and Dreamweaver MX 2004
everything is correct php and my sql works but when i tried to connect dreamweaver with mysql i can't, i got this message :
error undefined....
dreamweaver create a connection : here is the file:
[code]
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_dbconnection = "localhost";
$database_dbconnection = "name_database";
$username_dbconnection = "user";
$password_dbconnection = "password";
$dbconnection = mysql_pconnect($hostname_dbconnection, $username_dbconnection, $password_dbconnection) or trigger_error(mysql_error(),E_USER_ERROR);
?>
[code]
can you help me? I also modified the php.eni :
[code]
extension_dir = d:\php\ext
extension=php_mysql.dll
[code]
thanks, i'm getting crazy.....