?? borrow.php
字號:
<?
//######################借書程序##########################
include "config.php";
include "auth.php";
include "header.php";
?>
<?
$user_name = $cookie_user;
$send_date = date("Y-m-d");
$daoshi_data =$send_data;
$daoshi = mktime(0,0,0,date("m") ,date("d")+$lend_date,date("Y"));
$daoshi_date = date( "Y-m-d", $daoshi );
$query=mysql_query("select * from book_user where user_name ='$user_name'");
while($row=mysql_fetch_array($query)){
$email = $row['email'];
$card = $row['card'];
}
$query=mysql_query("insert into book_lend values('','$book_name','$card','$send_date','$daoshi_date')");
if($query==true){
echo "借書成功
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -