<?php
if(isset($row['status']) AND
if($row['status']=="pending"))
{
?>
<span class="pending">Pending</span>
<?php } ?>
Run Code Online (Sandbox Code Playgroud)
解析错误:语法错误,第70行的C:\ Program Files\EasyPHP-5.3.6.0\www\v0.3\view\friendships.php中的意外T_IF