-2
中的非法偏移類型
正在嘗試從clientdb獲取名和姓。但是,當我試圖從查詢中的名字和姓氏它顯示的錯誤代碼like.My低於警告:
警告:
<?php
include_once('../php/session.php');
$client = "SELECT fname,lname FROM clientdb WHERE clientemail='$usercheck'";
$resultclient = mysqli_query($con,$client) or die(mysqli_error());
?>
<html>
<head>
<title>Bus Ticket Resevation - Userpage</title>
<link rel="stylesheet" href="../css/client-page.css">
</head>
<body>
<form action="customer-login.php" method="post" class="customer-login">
<fieldset class=".one">
<legend>User-Details:</legend>
<table class="usertable">
<tr>
<td><label>Username or Email:</label></td>
<td><?php echo "$_POST[$resultclient]";?></td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
非常感謝:) @fabio – Madhi
不客氣 – Fabio
@Madhi你的問題解決了嗎? – kashif