PHP develops a simple book lending system to create a public web page
In our borrowing system, the HTML in the header is fixed
and does not change as the page jumps.
In order not to write the header code repeatedly, we need to make a head.php file
Write the header HTML code to facilitate calling in each file.
![]() | |||||||
|
The user’s logout function is also added here:
用户登陆 退出"; } ?>
Make a judgment on the login function page
alert('退出成功!');window.location='landing.php'"; } ?>