hi, how do I load a datatable with multiple tables using the connector?
I use:
$data->render_sql("SELECT *
FROM aisurvey_users
INNER JOIN aisurvey_profiles ON aisurvey_users.IdProfilo = aisurvey_profiles.IdProfilo
INNER JOIN aisurvey_owner ON aisurvey_users.owner_id = aisurvey_owner.owner_id
ORDER BY cCognome,cNome",
"id",
"cCognome,cNome,cUser,cPassword,owner_name,cProfilo,fActive,owner_id,IdProfilo");
seems ok load , but to make the save ? I have to make the save only aisurvey_users on the table and not on those in joins .