Jump to content

Parse Error


patco

Recommended Posts

Probably should be like this.

 

$con = mysql_connect($bd_host, $bd_usuario, $bd_password); 
mysql_select_db("mydatabase", $con);

 

if your database is called "mydatabase"

or like this

 

$con = mysql_connect($bd_host, $bd_usuario, $bd_password); 
mysql_select_db($mydatabase, $con);

 

if your databse name is stored in variable

Link to comment
https://forums.phpfreaks.com/topic/123062-parse-error/#findComment-635503
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.