Hello there!
I'm using echo but I'm not sure how to code the PHP part (action='.$_SERVER['PHP_SELF'].' ) within the other HTML code. That is, I'm missing the syntax to put HTML and PHP in an echo statement.
Could you help me?
Here's the whole thing (but it's failing at the moment):
echo("<form name='Form2' method='POST' action='.$_SERVER['PHP_SELF'].'
<input type='hidden' name='form_complete_2' value='1'><br>");
echo("<table width=80%><tr><td class=copy><font face='verdana,arial' size=1><b>Almost finished!</b><br><br>
Lastly we just need a User name and Password.<BR><BR>
Space City Mixer uses user names and passwords on the RSVP's for an event.
We created user names for privacy (the user name is visible to everyone so using it instead
of your real name gives you some privacy).
<BR>
Passwords are used so only you can RSVP with your selected user name.
<BR><BR><BR>
</td>
</tr>
</table>
<Table CELLPADDING=0 CELLSPACING=0 border=0>
<tr><td><font face='verdana,arial' size=1>User Name:<font color=red> </font></td><td width=60%><input type='text' name='Username' size=25></td></tr>
<tr><td class=copy><font face='verdana,arial' size=1>Password:<font color=red> </font></td><td width=60%><input type='text' name='Password' size=25></td></tr>
<tr><td class=copy><font face='verdana,arial' size=1>Secret Question:<font color=red> </font></td>
<td>
<select name='Question'>
<option>What is the color of your first car?
<option>What's your favorite food?
<option>If you were stranded on an island, who would you like it to be with?
<option>What's your favorite movie?
</select>
</td></tr>
<tr><td class=copy><font face='verdana,arial' size=1>Answer (to your Secret Question):<font color=red> *</font></td>
<td ><input type='text' name='Answer' size=25></td>
</tr>
<tr><td colspan=2 align=center><INPUT TYPE='SUBMIT' NAME='SubmitButton' VALUE='Submit' ></td></tr>
</table>
");