I have searched online for hours and haven't found anything that fixes my error. I have a file with this code,
<?php
class Conn {
public static $dbhost = “localhost”;
public static $dbuser = " < provide here user name to your database> ";
public static $dbpass = "< password you use to access database >";
public static $dbname = " <database name> ";
}
?>
and here's my error,
Parse error: syntax error, unexpected 'here' (T_STRING), expecting ',' or ';' in /Applications/XAMPP/xamppfiles/htdocs/Registration/Conn.php on line 4
I've tried changing " to ' yet it doesn't help!
I don't have any open strings, so what's the problem???