Forum Sign UP Login Contact Us
HOME : Forum : SQL and Database : Post New Topic
Linking tables
fulu1973
04:20:12 12:51
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
subhendu
04:26:12 04:00
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
Please Login to post your reply or start a new topic
Privacy Policy | Disclaimer
©2000 - 2014 plus2net.com All rights reserved worldwide