database connection

Status
Not open for further replies.

denisphelan57

New Member
Messages
1
Reaction score
0
Points
0
there was a problem connecting to database

what should I have in denisp_data label below

<?php
$con = mysql_connect("denisp_data","denisp_testdata","x10pword");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

// some code
?>
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
Hello,

What problem/error message are you receiving when trying to connect?
 
Status
Not open for further replies.
Top