So I keep getting this error when I submit the information:
Parsing Error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
This is the code:
<html>
<head>
<?php
$guild = "Soul Society";
$real = "$_POST['real']";
$char = "$_POST['char']";
?>
<title><?php echo "Welcome to $guild";?></title>
</head>
<body bgcolor="#000000" text="FF0000">
<?php print "<center><h1>Welcome to the $guild Website
<p>We are a World of Warcraft guild on the Proudmoore Realm.</p></h1></center>";
?>
<br>
<br>
<center>
Welcome, <?php echo"$real"; ?>!<br />
You Play, <?php echo"$char"; ?> as your primary character.
</center>
</body>
</html>
Any idea as to what I am doing wrong? Help, Please. I have a PHP book, but its not really helping me a whole lot on this error I keep getting. If you need to see the code from the first page, I am more than willing to PM you a copy of the code.
Thanks for any help that I can get!