Im still new in PHP, HTML or Javascipt. Im trying to find solution about this problem.
I got this error
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING when trying to show <?php echo $_GET["q"]; ?> in echo.
Original Code
<input type="hidden" name="q" value="<?php echo $_GET["q"]; ?>" /><input type="submit" name="ResetPasswordForm" value=" Reset Password " />
when change to echo
echo "<input type=\"hidden\" name=\"q\" value=\"<?php echo $_GET[\"q\"]; ?>\" /><input type=\"submit\" name=\"ResetPasswordForm\" value=\" Reset Password \" />\n";
Can someone help me or explain why? Thank you..