Jump to content

Bodhran

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Bodhran's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Brilliant! Thank you for your help :-)
  2. I stupidly uploaded my files to the server before properly testing them, so you can see my problem in action at "thehurricanes.co.uk" if it helps!
  3. I am having some real problems with the code in red below which sits in my "index.php" file, and would be very grateful for any help! <?php include("header.php"); include $_GET["view"] . ".php"; include("footer.php"); ?> The links for my "views" (e.g. <a href="?view=page_news">News</a> ) are in my "header.php" file. The whole website works absolutely fine, except when you first arrive on the homepage you get: Notice: Undefined index: view Warning: include(.php) [function.include]: failed to open stream: No such file or directory This is presumably because a link hasn't been clicked yet, thus a "view" hasn't been defined yet, but I have no idea how to get around this! I hope I haven't been too vague with my explanation... Thanks, James
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.