I'm new to php, I read the phpcomplete beginner's tutorial and it made so much sense, so big up to the Author.
I'm building my site using php and I was wondering how to do a proper query string navigation..
I read some other tutorial that said:
Change your link too
Code: Select all
<a href="?section=about">about</a>Create an "about.php" page
And then:
Code: Select all
<?php
<?php
if($section=="about") include("about.php") ;
elseif($section=="music") include("music.php") ;
?>
?>I'm new, just getting my feet wet with php, I read some tuts but I'm reading it now/building my site at the same time, sorry if this question is dumb, getting it has been hard until phpcomplete tutorial.
Thanks!