Hello,
I am very new to the php world and really love to know more... i am trying to connect my html (embedded with php code ) to a mysql database....
This is only for learning purposes... The code connects to the database but it does not return true when i do this ::
$this->db = $db;
if(@mysql_select_db($this->db, $this->conn)) {
return true;
}
can someone please try to guide me thru this??
Thanks much
mysql_select_db :: Please help
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
mysql_select_db($this->db, $this->conn) or die(mysql_error());