Hello,
What are the syntax rules when you have multiple actions to take within an if/then statement ? For example:
if( $imagecode != "AR7YE" )
print ('<table width=100% border=0>');
print ('<tr>');
print ('<td align=center height=200>');
print "Thank you for your time!<br><br>";
print "You have entered an incorrect code. Please use your browser's Back button to try again.<br><br>" ;
print ('</td align=center>');
print ('</tr>');
include('_lib/footer.php');
print ('</table>');
else
*continues on*
I get an error on the last line where the else is.
Do I need to group all these statemenst within some parenthesis? I've tried but maybe had the syntax wrong.
Can someone help?
Thanks Tracy