help w/or...else

1Tsme1941

Member
I finally got the error checks figured out. One character blew me out.
syntax is killing me, thanks so much for your efforts.
Now I'm stumbling over else statements. I am googling and checking others
but could use some suggestions. The "else" code I'm having trouble with ?
=================================================================
<input type='submit' name='update' value='Update Record' />
else{echo "No listing for apartment $unit.<br />Please select another.<br />";}
}
if(!empty($_POST["update"]))
{
$sql = "UPDATE payments SET
==================================================================
 

Cromewell

Administrator
Staff member
Sorry, I do not understand the question. there is an else branch before your if. Is that what you are asking about? I assume it is attached to another if further up in your code?
 
Top