CODE
if ($_GET['action']!='race'){
<form name="form2" method="get" action="race.php?action=race">
<tr><td>Who do you wanna race?</td><td>
<select size=5 name="bike">
<option value="Derbi Senda 50">Derbi Senda 50</option>
<option value="Honda NS 50 R">Honda NS 50 R</option>
<option value="Suzuki ZR 50">Suzuki ZR 50</option>
<option value="Yamaha DT 50 MX">Yamaha DT 50 MX</option>
<option value="Aprilia RS 50">Aprilia RS 50</option>
</select>-<a href="java script:launchClasses()">?</a>
<input type=submit value=Register>
</td>
</tr>
</form>
}
<form name="form2" method="get" action="race.php?action=race">
<tr><td>Who do you wanna race?</td><td>
<select size=5 name="bike">
<option value="Derbi Senda 50">Derbi Senda 50</option>
<option value="Honda NS 50 R">Honda NS 50 R</option>
<option value="Suzuki ZR 50">Suzuki ZR 50</option>
<option value="Yamaha DT 50 MX">Yamaha DT 50 MX</option>
<option value="Aprilia RS 50">Aprilia RS 50</option>
</select>-<a href="java script:launchClasses()">?</a>
<input type=submit value=Register>
</td>
</tr>
</form>
}
i have this code...if i put <?php before it and ?> after it i get
QUOTE
Parse error: syntax error, unexpected '<' in C:\wamp\www\race.php on line 27
if i put ?> directly after if clause like this CODE
<?php if ($_GET['action']!='race')?>{//codes}
the brackets are printed out and it doesnt help...
and if i put it after like this:
CODE
<?php if ($_GET['action']!='race'){?>//codes}
i get this
QUOTE
Parse error: syntax error, unexpected $end in C:\wamp\www\race.php on line 41
i hope my problem is understandable and you can help me....thnx

