I have tables like this
user
id ,name
user_email
id ,user_id,email
user may have multiple emails.How can i do CRUD operation of these type of data in codeigniter grocerycrud?I tried this but not working.
I have tables like this
user
id ,name
user_email
id ,user_id,email
user may have multiple emails.How can i do CRUD operation of these type of data in codeigniter grocerycrud?I tried this but not working.
check this link hope this help you
http://www.grocerycrud.com/documentation/options_functions/set_relation
void set_relation( foriegn key , table that has the foriegn key, any needed column like title or date or what ever you need to retrieve else )