我正在填写汽车经销店预订表格,我需要随机选择一名工作人员进行试驾
我试过mt_rand()但我想我把它放错了位置
````````````````````````````````````
$sql = "INSERT INTO bookingcars (BookingStart, BookingEnd, BookingDate, MemberReference, ActivityID staffID) VALUES ('$timeStart', '$timeEnd', '$startDate', '$memberReference', '$activity', '$mt_rand(1, 4)staffID'";
````````````````````````````````````
天涯尽头无女友
紫衣仙女