what i want to do is when i click on a record from table 'ac', it will redirect to p_ac/add, and then 'pemegang_pac' and 'ac_pac' will be automatically field with 'pemegang_ac' and 'merk_ac' from a record in table 'ac' that i clicked previously.
what code above does is when i add a record to 'data' table, the current record will have "user_id_d" and "address_d" autofilled with "value" and "value2". my question is, is there anyway to replace "value" and "value2" with dynamic value from other table? for example what i want to do here is:
Quote
"user_id_d" => get user_id from user "address_d" => get address_u from user
something like that. is there anyway to achieve it?