予期しない T_ELSE エラーが発生する理由がわかりますか? 私は盲目でなければなりません..
<?php
//Check if form was submitted
if(isset($_POST['submit']))
{
//Form was submitted.
if($_POST['paypalemail'] != '');
{
//An email was submitted.
}
else
{
//There was nothing in the field. Tell them.
echo "<script language=\"javascript\">alert('The field was left empty. Please insert your PayPal email address and try again.');</script>";
}
}
?>