ie does not render my php if statement well, any ideas? I say this because it works well in firefox.
<input type="image" src="Images/submit.png" value="REGISTER" name="command" />
if($_REQUEST['command'] == 'REGISTER'){
print "test";
}
else{
}
It is not printing “test”
PHP is executed server side; IE has no bearing on your if statement. My guess is that $_REQUEST[‘command’] is not being set.
What does this print:
Another idea would be to append the “command” data to your URL:
EDIT
Just noticed that you’re using
type="image", I don’t know if IE supports that: http://www.codingforums.com/archive/index.php/t-79035.html, try using a regular submit button.