Jokerman Posted February 23, 2009 Share Posted February 23, 2009 I am new to PHP and cannot get information from two different tables in 1 database to work. I have links and when I click on it, both areas change. Here is a link so you can see how it isn't working. www.jeffevens.com/portfolio.php Link to comment https://forums.phpfreaks.com/topic/146501-how-to-pull-information-from-two-tables-within-1-database/ Share on other sites More sharing options...
wrathican Posted February 23, 2009 Share Posted February 23, 2009 look up mysql joins. they will only work if the tables are related however. so you have a column in both tables called ID that are the same for each row. there is a tutorial on phpfreaks tutorials Link to comment https://forums.phpfreaks.com/topic/146501-how-to-pull-information-from-two-tables-within-1-database/#findComment-769112 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.