am completely new to coding, and i got this error
Parse error: syntax error, unexpected '{' in C:\xmpp\htdocs\e-kartbz\includes\config.php on line 4
the code i wrote is:
<?php
//connect to database
mysql_connect{"localhost", "root", ""} or die{mysql_error{}};
mysql_select_db{"e-kartbz"} or die{mysql_error{}};
echo "working";
?>
i wrote it exactly as the instructor did in the tutorial, and it worked perfectly for him. can you help me please, thank you.