LOL! I put in the wrong values... wow im dumb.
Crap forgot to edit sorry.

LOL! I put in the wrong values... wow im dumb.
Crap forgot to edit sorry.
How could this hapen to meeeeeeeeeeeeeee?lol.
just change the posts to the right values and it works =)
How could this hapen to meeeeeeeeeeeeeee?lol.
Haha works now, I forgot to include my installmysql.php file![]()
I am Bojangles =]
Grats
May I ask how did you install the mysql, just using the .sql or...?
How could this hapen to meeeeeeeeeeeeeee?lol.
try execute it in something like phpMyadmin. (Open the .sql in notepad or some other good program, and paste the SQL in phpMyadmin SQL query executer)
Clever![]()
Hey,
Hate to break this to you but this is mssql not mysql.
Hey I need this file for one of my index pages to run but when I enter my database info it doesn't work :S
I've put the database user and password as host and changeme due to me not wanting the database info being leakedPHP Code:if ($sql_mode==2) {
$crishn = pg_connect("$localhost","5432","$sql_data");
} else if ($sql_mode==3) {
$crishn = mssql_connect($host, $sql_user, $changeme);
$crashn = mssql_select_db($sql_data);
} else if ($sql_mode==4) {
$crishn = odbc_connect($sql_data, $host, $changeme);
} else {
$crishn = mysql_connect($localhost, $host, $changeme);
$crashn = mysql_select_db($host);
}
And yes when I put in the correct database info it is the correct info.
+REP to whoever helps
Dude, you're going to need to figure out which database you are going to use!
pg_connect is postgreSQL.
mssql
odbc
MySQL
And from what I see, the quality of those code is awful, so why not stick with one? Just support MySQL, I am sure more people would prefer that.
Last edited by Dentafrice; 24-03-2008 at 02:45 PM.
Hmm I could just use one. Yeah its poor but I'm new to all this as you can probably tell![]()
Want to hide these adverts? Register an account for free!