function update_record(username)
$username1 = select top 1 username from table1 order by update_time
if $username1 = $username
then
update table1 set ...
else
insert into table1 values(...)
function update_record(username)
$username1 = select top 1 username from table1 order by update_time
if $username1 = $username
then
update table1 set ...
else
insert into table1 values(...)
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy