Dump Structure! Referring to:.../ajax-listbox-mysql-dump.txt tutorial
Can someone show me the code which was used to link the table plus_cat. cat_Id and table plus2_subcat.cad_Id. How was the plus2_subcat cat_Id data was inserted. I can see that 'plus2_subcat subcay_Id is from the table 'plus2_cat' I wanna know the code to used to link those two tables.
Thanks in advance
|There is no direct link, the cat_id is collected and respective record is returned from table|
select subcat_id, subcat_name from plus2_subcat where cat_id=$cat_id order by subcat_name