希望你能帮忙。我正在运行查询,但没有显示任何结果,这只是当我尝试将结果字段的 2 与另一个链接时请帮忙?
这是我的代码
<?php
include 'core/init.php';
include 'includes/overall/header.php';
?>
<div class="article">
<?php
$result = mysqli_query($con,"SELECT * FROM ref_employees");
while($row = mysqli_fetch_array($result))
if(($user_data['user_id']) == 'employerid'){
{
echo '<h4> ID : '.$row['idnumber'] ;
echo '<br> First Name : '.$row['firstname'];
echo '<br> Last Name : '.$row['lastname'];
echo '<br> Reference 1 : '.$row['ref1'];
echo '<br> Reference 2 : '.$row['ref2'];
echo '<br> Reference 3 : '.$row['ref3'];
echo '<br> Gender : '.$row['gender'];
echo '<br> EMP ID : '.$row['employerid'];
echo '<br> employed : '.$row['employed'];
echo ' </h4>';
include 'includes/adminmenu.php';
}
}
mysqli_close($con);?>
</div>
<?php include 'includes/overall/footer.php';
?>