intertec
New Member
- Messages
- 946
- Reaction score
- 0
- Points
- 0
I am going through a php tutorial! I have finshed it but I'm confused for one part!
The part where is says yourdatabase! What do I put in there! I know it syas yourdatabase but when I do that it comes with this error when I run it!
syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/intertek/public_html/config.php on line 3
<?php
$l = mysql_connect ( "localhost" , "yourmysqlUser" , "password" ) or die("Error connecting: <br><br>".mysql_error());
mysql_select_db( "yourdatabase" ) or die("Error getting db: <br><br>".mysql_error());
?>
Some body help me!
The part where is says yourdatabase! What do I put in there! I know it syas yourdatabase but when I do that it comes with this error when I run it!
syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/intertek/public_html/config.php on line 3
<?php
$l = mysql_connect ( "localhost" , "yourmysqlUser" , "password" ) or die("Error connecting: <br><br>".mysql_error());
mysql_select_db( "yourdatabase" ) or die("Error getting db: <br><br>".mysql_error());
?>
Some body help me!