$login = <<<LOGIN
<form action = "$_SERVER['PHP_SELF']" method = "POST" >
<table border= "0" cellspacing="1" cellpadding="3"
bgcolour = $formBackground align="center" bgcolour = $formBackground>
<tr>
<td <FONT COLOR= $font> Name: </td>
<td <FONT COLOR= $font> <input type="text" name = "userName" > </td>
<td <FONT COLOR= $font> Password: </td>
<td <FONT COLOR= $font><input type="password" name = "userPass" > </td>
<td FONT COLOR= $font colspan="4" align="center"> <input type="submit" name = "submit" value = "Log In"></td>
</table>
</form>
LOGIN;
gives me:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /**/**/public_html/index.php on line 26 which is the:
<form action = "$_SERVER['PHP_SELF']" method = "POST" >
I normally code C++/Java apps, html/php is totally new to me...anyone idea whats going on? Thanks in advance!
-sec++