将以下内容连接到“Hello John - (admin)”
之类的正确方法是什么? if(has_access($session_user_id, 1) === true){
$message[] = ' - (admin!)';
}
?>
<div id="info">
<p class="profile"> Hello <?php echo $user_data['first_name'], . echo output_messages($message) . ;?>! </p><br /><br />
谢谢!
答案 0 :(得分:1)
<p class="profile"> Hello <?php echo $user_data['first_name'] . output_messages($message) ;?>! </p><br /><br />