Hello guys,
I have a doubt regarding the tabs I have in my project. Its a user view page with multiple tabs in it. Each tab is having details like user basic info, social profile info, skills etc. The current setup is PHP tabs with $_GET['tab'] value. There are different $_GET['tab'] for each tabs and the if condition checks the $_GET['tab'] variable and loads the content of include file in that tab. There are about 10 tabs and 10 if conditions in this page.
The page itself is having other include files like header, footer, side menu etc.
Me and my friend had a discussion on this and he suggests to have separate page for each tabs and avoid if conditions in the page.
My questions are:
1) Does the number of if conditions really make changes to the performance of the page?
2) Should I switch to separate page and have visual tab look?