Quote:
Originally Posted by Bellardia
$_REQUEST is a very different function than $_GET.
Not sure what exactly you want to do with the code, so I won't tell you want to evaluate inside or anything...but to do something based on the query string use the code
PHP Code:
if ($_GET['do'] == 'Something')
{
//do something
}
|
But if I do like this:
PHP Code:
if ($_GET['do'] == '?newsmain1')
{
[B] //do something[/B]
}
What will the command be to load a template and that template only, not the template that is on.com/name.php[S]?newsmain1[/S] ?