This topic is locked

Is it possible to populate one table with data and userID

9/5/2007 1:54:53 PM
PHPRunner General questions
J
jef3966 author

I have a table that is called _responses. It is a hyperlink from the "View Item" page to a survey I need to conduct on each item looked at. This form has 5 questions asking about the product they just looked at. It updates the table fine. I need to also include the login id which is their e-mail address and the id of the product they looked at. I do not want the two extra items visible on the form, just added with the responses.
Thanks,

John

Alexey admin 9/6/2007

John,
use Before record added/updated event for this.

Here is the sample code

$values["Email"]= $_SESSION["UserID"];

$values["Product"]=...


where Email and Product are your actual field names