no idea :) still dont work :p page loads in new same window but as full screen
Printable View
no idea :) still dont work :p page loads in new same window but as full screen
Did you use the PHP link?
?PHP Code:<a href="index.php?page=home">Home</a>
yea :s gay php never liked it.
Ok this is a basic overview of how to use it :) An include in php is like an iframe just different. But you place it (like an Iframe) where you want the text to show so as Mentor said the code is:
So to set it out with a naVigation you could do it like so:PHP Code:<?php
$_GET['page'];
if($page == "home")
{
include('home.php');
}
elseif($page == "news")
{
include('news.php');
}
else
{
include('home.php');
}
?>
Tha just give you a navigation box and also a box where the include appears :)HTML Code:<table border="0" cellpadding="0" cellspacing="0" valign="top">
<tr>
<td width="200" bgcolor="99ccff">
LINKS<br>
<a href="index.php?page=home">Home</a></td>
<td width="50"></td>
<td width="450" bgcolor="99ccff" height="100">
<?php
$_GET['page'];
if($page == "home")
{
include('home.php');
}
elseif($page == "news")
{
include('news.php');
}
else
{
include('home.php');
}
?></td>
</tr>
</table>
Yesss
finnaly a good tutoriul instead of these stupid copie and past ones
:D:D:D
If this dosent get stuck ima stab someone
James did try to explain to me the other day but i just got really confused
Oh well, I'll give it ago again ;D
omg u owe me anderman :p i searched for php and i wanted this and i got it posted this is a OLD thread :D
I know and it best get stuck pronto or im going to start gatting down moderators
Move to tutorials :)
wow this threads ancient i cant believe its still getting bumped :O:O:O
.................