Robie to tak:
switch($_GET['page']) { case 'profile': include 'profile.php?id='.$user_data['user_id'].''; break; }
a link do tej prodstrony taki :
<a href="index.php?page=profile">Wyświetl swój profil</a>
niestety mi wyskakuje błąd ;/
Warning: include(profile.php?id=1) [function.include]: failed to open stream: No such file or directory in...
Warning: include() [function.include]: Failed opening 'profile.php?id=1' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in ..
proszę o pomoc , nie wiem jak sobie z tym poradzić