Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hello,
Please help me!Code: Select all
<?php
if (count($HTTP_GET_VARS) == 0) {
$content = 'welcome.php';
$pageTitle = 'Welcome';
} else {
$content = $HTTP_GET_VARS['content'] . ".php"; THIS IS LINE 8
$pageTitle = $HTTP_GET_VARS['pagetitle'];
}
include "library/structure.php";
?>Code: Select all
<?php
if (count($HTTP_GET_VARS) == 0) {
//print "<meta http-equiv='refresh' content='0; URL=index.php?content=welcome&pagetitle=Welcome'>";
$content = 'welcome.php';
$pageTitle = 'Welcome'; }
elseif (count($HTTP_GET_VARS) == 1) {
$content = 'committee.php';
$pageTitle = 'Committee Members'; }
elseif (count($HTTP_GET_VARS) == 2) {
$content = 'events.php';
$pageTitle = 'Meetings and Events'; }
elseif (count($HTTP_GET_VARS) == 3) {
$content = 'farewell.php';
$pageTitle = '2004 Farewell Message'; }
elseif (count($HTTP_GET_VARS) == 4) {
$content = 'pastevents.php';
$pageTitle = 'Past Events'; }
else {
$content = 'links.php';
$pageTitle = 'Links'; }
include "library/structure.php";
?>feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]