Hi guys I am new on PHP and have this problem:
( ! ) Parse error: syntax error, unexpected 'yes' (T_STRING) in C:\wamp64\www\init.php on line 13
This is my code:
<?php
$host = "localhost";
$db_user = "****";
$db_password = "****";
$db_name = "user_db;
mysqli_connect($host,$db_user,$db_password,$db_name);
if($con)
{
echo "Connection Success";
}
else
{
echo "Connection failed";
}
?>
This tutorial I am trying to follow:
https://www.youtube.com/watch?v=dxVPGnP_PFM
Can anyone help me please?