Hello,
I was wondering if this is (even) technically possible or whether I am trying something that can not work. I have a database with two tables "users" (username, mail, pwd) and second table "articles" (article name, excerpt, date - and xtra column user).
Using a login script I am able to verify the logged-in users + their passwords against "users" table. Once they are logged in, they can click on a form with two fields "article name, excerpt" fill it in and submit into the database. These data are saved correctly in "articles" table on SQL side.
but can not figure out how to send with the form also the actual "username" that submitted these data. I tried session variable "username" (but that refers to a column in a different table) and as a total beginner I do not know if you can refer to session variables from different tables.