I have created a custom form on a website that I am building. I’m sending the data from the form to a Database using php and mysql.
I was wondering if there is any way to grab the username of the user who is logged in and send it along with my form data to the DB. I got the data to flow to the database already just need help grabbing the username.