A newbie and Query Strings
Posted: Thu May 01, 2003 4:20 pm
ok, ive been to a few php tutorials sites. and all they give me is this:
<?
$HTTP_GET_VARS['tutorials'];
if ($tutorials == "php" || $tutorials == "") {
include("php.php");
}
else if($tutorials == "photoshop") {
include("ps.php");
}
?>
but what do i do??
do i stick it at the top of my page...??? do i make the link go to href="tuts.php=php" or something
if you could give me an easy explanation....it would be greatly appreciated.
thnx
<?
$HTTP_GET_VARS['tutorials'];
if ($tutorials == "php" || $tutorials == "") {
include("php.php");
}
else if($tutorials == "photoshop") {
include("ps.php");
}
?>
but what do i do??
do i stick it at the top of my page...??? do i make the link go to href="tuts.php=php" or something
if you could give me an easy explanation....it would be greatly appreciated.
thnx