Notice: Undefined index in C:\wamp64\www\msyqli\delete\delete.php on line 4: id
1分之二
1分之二 2018-02-13 20:16:29
0
0
1500


include_once("conn\conn.php");//Connect to the database file
$sql="select * from padd order by id desc";//Query this Data in the table
$result=mysqli_query($connID,$sql);//Execute the data and assign the value to $result

if ($result && mysqli_num_rows($result) ) {
/*If the sql query statement is correct, $result is true. Not only the $reslut function is judged, but also the number of rows queried is judged. */
echo '

';
echo '';
while ($row = mysqli_fetch_assoc($result)) {
echo '';
echo '';
echo '';

echo '';
echo '';
echo '';
echo '< echo '
' . $row['name'] . '' . long2ip($row['pad']) . '' . long2ip($row['pad']) . php?id=' . $row['id'] . '">Edit userDelete user
';
echo '';
echo '
';

} else {
echo 'No data';
}




mysqli_close($connID);
?>



1分之二
1分之二

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!