three-level nested repeat region
Posted: Sat Feb 04, 2006 3:13 pm
I have problems with a three-level nested repeat region
because my DB is something complex...
levels : department > province > district
table department {id_dep, cod_dep, name_dep }
table province {id_prov, iddep_prov,cod_prov,name_prov }
table district {id_dis ,iddep_dis ,idprov_dis,cod_dis, name_dis }
Nesting among department > province is well
Nesting among province > district ... has errors
first intent:
see http://www.jsmoda.com/vencedor/nested1.php
second intent: (partial solution... )
see http://www.jsmoda.com/vencedor/nested2.php
For this second intent I added...
$vari = " AND iddep_dis =".$row_detail2ven_province_prov['iddep_prov'];
help me to solve this difficult problem
download la data and code
see http://www.jsmoda.com/vencedor/data.zip
thanks
ERIKA
because my DB is something complex...
levels : department > province > district
table department {id_dep, cod_dep, name_dep }
table province {id_prov, iddep_prov,cod_prov,name_prov }
table district {id_dis ,iddep_dis ,idprov_dis,cod_dis, name_dis }
Nesting among department > province is well
Nesting among province > district ... has errors
first intent:
see http://www.jsmoda.com/vencedor/nested1.php
second intent: (partial solution... )
see http://www.jsmoda.com/vencedor/nested2.php
For this second intent I added...
$vari = " AND iddep_dis =".$row_detail2ven_province_prov['iddep_prov'];
help me to solve this difficult problem
download la data and code
see http://www.jsmoda.com/vencedor/data.zip
thanks
ERIKA