My page is doing both view/edit with record maintenance at the top. Everything was fine until I started the edit section. I have basic code to set select boxes but that was it. I put in the main code and the screen goes blank. So I stripped it down to a basic elseif statement. The page works fine until this goes in.
I know its not the php tags, and I have tested with a basic if statement that works...
As soon as I make it...
What the heck? Any insight would be great. I need to get past this.
Thanks,
K
Code:
<?php
elseif ($_GET['rec'] == 'edit'){
echo "Hello";
}
?>
I know its not the php tags, and I have tested with a basic if statement that works...
Code:
if (4<5) {echo "Hello";}
As soon as I make it...
Code:
elseif (4<5) {echo "Hello";}[s][/s]
Thanks,
K