I am band new noobie
I have been reading books and using this site as well as others to learn.. every time I run a script from a tutorial mad parse errors and they are word for word from the book telling me what results to expect and parse errors arnt part of the results
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$set_var = 0; //set_var has a value
//never_set does not
print (“set_var print value: $set_var<BR>”);
if ($set_var == $never_set)
print (“set_var is equal to never_set!<BR>”);
if (IsSet($set_var))
print (“set_var is set.<BR>”);
else
print (“set_var is not set.<BR>”);
if (IsSet($never_set))
print (“never_set is set.<BR>”);
else
print (“never_set is not set.”);
?>
</body>
</html>
here is the error
Parse error: syntax error, unexpected T_PRINT in /home/generam2/public_html/test.php on line 12