louisstephens Posted May 20, 2009 Share Posted May 20, 2009 Ok, I have a 2 column layout. The left column is just a bunch of links. The right hand side is reserved for the data that the links are pointing too. However, I really do not know how to achieve this. Example of what I would like: User clicks on "portfolio" link on the left hand side, and on the right side, the portfolio.php is loaded into the right div. Do I just need some if statements? I really would like to stay away from frames. Link to comment https://forums.phpfreaks.com/topic/158860-load-different-data-on-right-side-dynamic/ Share on other sites More sharing options...
Masna Posted May 20, 2009 Share Posted May 20, 2009 Read this: http://www.w3schools.com/PHP/DEfaULT.asP Link to comment https://forums.phpfreaks.com/topic/158860-load-different-data-on-right-side-dynamic/#findComment-837889 Share on other sites More sharing options...
louisstephens Posted May 20, 2009 Author Share Posted May 20, 2009 Thanks. I know I could do an include. However, I do not know how to do mulitple ones which change based on the link that you click in the right side. Link to comment https://forums.phpfreaks.com/topic/158860-load-different-data-on-right-side-dynamic/#findComment-838385 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.