C
|
cgphp 9/26/2011 |
Why PHP Runner accuses unknown field?
global $conn;
|
T
|
Thiago Araujo author 9/27/2011 |
Because when you click the save button you can only save data for one table. If you need to save fields values for multiple tables you have to enter in the "Before record updated" event (http://xlinesoft.com/phprunner/docs/before_record_updated.htm) the update query for those fields. Suppose that in the edit screen of TABLE_1 you have four fields: A, B, C and D Suppose now that the C and D fields are of TABLE_2. In the "Before record updated" event update the TABLE_2: global $conn;
|