nuDebug() secret output?
Posted: Wed Jan 02, 2013 5:16 pm
I have a form which holds a table called store_review. It has 2 fields
- ID autoincrement
- STORE_ID implemented as a lookup to another table (STORE)
I left ID-field of the form because it will be pre-populated with dbGetUniqueID, which is not numeric. So my current form only holds the lookupfield. When I insert a new record and press save, the record doesn't get saved. Maybe because store_id doesn't hold a value or isn't marked as "dirty" / changed.
So I went to the Before and After save sections of the form properties and put in:
nuDebug("Before saving".$_POST['store_id']);
nuDebug("After saving".$_POST['store_id']);
Then moved to PHP Debug button but that form doesn't show zzsys_trap records that are of type $trap_sql. The nuDebug did write something to zzsys_trap based on the datetimestamp. But what did it write? Its a secret! How to decode the contents of zzsys_trap $trap_sql records?
- ID autoincrement
- STORE_ID implemented as a lookup to another table (STORE)
I left ID-field of the form because it will be pre-populated with dbGetUniqueID, which is not numeric. So my current form only holds the lookupfield. When I insert a new record and press save, the record doesn't get saved. Maybe because store_id doesn't hold a value or isn't marked as "dirty" / changed.
So I went to the Before and After save sections of the form properties and put in:
nuDebug("Before saving".$_POST['store_id']);
nuDebug("After saving".$_POST['store_id']);
Then moved to PHP Debug button but that form doesn't show zzsys_trap records that are of type $trap_sql. The nuDebug did write something to zzsys_trap based on the datetimestamp. But what did it write? Its a secret! How to decode the contents of zzsys_trap $trap_sql records?