Skip to main content
Topic: Session variables as values to hidden fields (Read 351 times) previous topic - next topic

Session variables as values to hidden fields

Hi all

Forgive me my noobness.... I'm still learning, and have started development of a small chocolate production database.

For this i have created a multi user database app, where users can register some common things, as well as some individual things like what molds they have in their personal stock.

For that i have created tables for all personal things, and having a field for user_id in these tables.
When i create my formular for the molds add page, i have a hidden field where i want the session user_id to be the value.

But it doesnt seem to work.

How would you approach this

Re: Session variables as values to hidden fields

Reply #1
I found the problem - it was really stupid, just me not trying to get the right variable from the session.