You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "UPDATE notes SET title='$title', body='$body' WHERE id = (SELECT id FROM (SELECT id FROM notes ORDER BY id LIMIT 1 OFFSET $idc) AS subquery) AND userid='$userid'";