PHP MySQL - Display / then Link to another Display
Posted: Mon Mar 06, 2006 10:38 am
I have a page on my site that displays 2 columns, (tableonedate, tableonetitle), from a table, (tableone).
Here is a shorten version of the first table.
tableone (tableoneid, tableonedate, tableonetitle)
I want to make "tableonetitle" a link; when you click on it. It displays rows, (tabletwocolumnone, tabletwocolumntwo), from another table, (tabletwo).
Here is a shorten version of the second table.
tabletwo (tabletwoid, tableoneid, tabletwocolumnone, tabletwocolumntwo)
How do I pass "tableoneid" to another page and have the new page display "tabletwocolumnone" and "tabletwocolumntwo" where tableone.tableoneid = tabletwo.tableoneid?
Thanks.
*edit: typo
Here is a shorten version of the first table.
tableone (tableoneid, tableonedate, tableonetitle)
I want to make "tableonetitle" a link; when you click on it. It displays rows, (tabletwocolumnone, tabletwocolumntwo), from another table, (tabletwo).
Here is a shorten version of the second table.
tabletwo (tabletwoid, tableoneid, tabletwocolumnone, tabletwocolumntwo)
How do I pass "tableoneid" to another page and have the new page display "tabletwocolumnone" and "tabletwocolumntwo" where tableone.tableoneid = tabletwo.tableoneid?
Thanks.
*edit: typo