<?php
$dbhost = '127.0.0.1';
$dbuser = 'root';
$dbpass = 'pass';
$conn = mysql_connect($dbhost, $dbuser, $dbpass;)
print $conn;
so here's my little snippet of code, I'm currently following along to a youtube video to create a clone website. this is what is written so far. then I exit out of vim the php index.php and I get this error. when watching the video this error isn't received by him even though its the same exact code as the video
PHP Parse error: syntax error, unexpected '$conn' (T_VARIABLE) in /var/www/html/index.php on line 5
my knowledge of php is very low so any help would be appreciated