Hello,
I would like to know, how can I make my URL to be something like this : index.php?page=aboutme&next=brother? I only know how to maka my URL to be index.php?page=aboutme by using this script:-
<?PHP
// Where all your text files are located at
// This can be just . if it is the current directory
$directory = './version2/';
// If the variable exists
// Example: If the url is index.php?page=aboutme
if($page)
{
// Does the file $directory/$page.php exist?
if(is_file("$directory$page.php"))
include("$directory$page.php");
else
print "Sorry, this page does not exist";
}
// If the page is just called as index.php
// Then just include the default main.php page
else
{
$mypage = 'main.php';
include("$directory$mypage");
}
?>
So, I would like to know how to make my URL to be index.php?page=aboutme&next=brother.
Thanks.