Insert PHP session variables to database on inline editor submit
Insert PHP session variables to database on inline editor submit
bbrindza
Posts: 316Questions: 73Answers: 1
How would I insert PHP session variables such as User ID when user enters and submits data in inline editor.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use the
Field->setValue()
method:Allan
Thank You Allan!
Hi Allan,
thank you for your wonderful work.
Unfortunately, the solution you have shown leads to an error message for me.
Undefined variable: _SESSION ...
Of course I defined one and I didn't destroy it.
Can you show me the full error message please? Also, did you call
session_start()
before that line would run?Allan