I want to use the signup information in another page, so I add a script into Inside Tage, but the script is in wrong place:

<form name="signup" method="post" action="<?php echo basename(__FILE__); ? action="http://www.yayalearn.com/signsuccess.php" >" id="signup">

How to do?