bobrocket9942
New Member
- Messages
- 14
- Reaction score
- 0
- Points
- 0
Hi guys!
I was making a gaming community website, and when I was pulling a mysql connect for an activation code, I get an error saying "No database found" (It's a mysql_error() thing..)
The code:
<?php
$server = "localhost";
$dbuser = "bobrocke_1";
$dbpass = "*********";
$database = "bobrocke_users";
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($database);
?>
The database is "bobrocke_users" and the table is "users" if that helps..
Thanks!
I was making a gaming community website, and when I was pulling a mysql connect for an activation code, I get an error saying "No database found" (It's a mysql_error() thing..)
The code:
<?php
$server = "localhost";
$dbuser = "bobrocke_1";
$dbpass = "*********";
$database = "bobrocke_users";
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($database);
?>
The database is "bobrocke_users" and the table is "users" if that helps..
Thanks!