این کدهای بنده هست :
<?php
if (isset($_SESSION['login_user'])) {
echo '
<table class=""">
<tr>
<th>شناسه</th>
<th>عنوان</th>
</tr>
';
$user_email = $_SESSION['login_user'];
//echo $user_email;
$sql = "select * from ticket where t_useremail = '$user_email'";
$result = mysqli_query($co, $sql);
while ($row = mysqli_fetch_assoc($result)) {
echo "<tr>";
echo "<td>" . $row['t_id'] . "</td>";
echo "<td>" . $row['t_title'] . "</td>";
echo "</tr>";
}
echo '</table>';
}
?>
برچسب:
نویسنده: خنجی