2017-04-08 23 views

回答

0

您在else之前丟失了一個右括號。它應該是這樣的:

<?php 
if ($gU->Username != "zach") { 
    echo "<button class='btn waves-effect waves-light' type='submit' name='login'>send follow request </button>"; 
} else { 
    echo "<button class='btn waves-effect waves-light' type='submit' name='login'>follow user</button>"; 
} 
?>