I am trying to figure out to make a password change form and function from some sample code so I can use it for another project. The sample has a form with an authentication function and a link with a registration form and function.
I figure I should be able to copy the "addUser.php" code, and modify it to update the user's password. I think I've got it pretty close, but I can't even get the form to open. It keeps bombing with a parse error on the line:
<form action="<? $_SERVER['PHP_SELF'] ?>" name="myForm" method="post">
Can someone tell me what I've got wrong here??