Jump to content

[SOLVED] 2 tables


onthespot

Recommended Posts

Ok so i have a news table and a news comment table.

Inside the news comment table, i have made the newsid a foreign key, which was a primary key in the news table.

 

Im unsure about how to linked the two on a page and therefore that will display the comments at the bottom of each news page in php.

 

I should be ok once i understand how to get the two tables working together.

 

Would be helpful if someone could guide me.

Link to comment
https://forums.phpfreaks.com/topic/166331-solved-2-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.