dsgdevil
February 1st, 2003, 10:59
how do u get this using php?
http://mysite.com/index2.php?whateveriwant=staff
i want to get the whatever i want and change it to whatever i want
i tried changing the op in this code
<?
if(!$op) {
include("news.html");
} else {
if(file_exists("$op.html")) {
include("$op.html");
} else {
include("404.html");
}
}
?>
but it gave me an error.do i have to use another code or something?
http://mysite.com/index2.php?whateveriwant=staff
i want to get the whatever i want and change it to whatever i want
i tried changing the op in this code
<?
if(!$op) {
include("news.html");
} else {
if(file_exists("$op.html")) {
include("$op.html");
} else {
include("404.html");
}
}
?>
but it gave me an error.do i have to use another code or something?