Jump to content
Sign in to follow this  
IRRupt

Include, switch og validering. Tips?

Recommended Posts

Jeg prøver å validere siden min, men jeg får følgende feil på samtlige av mine lenker:

 

Reference to entity "PHPSESSID" for which no system identifier could be generated:

 

...net/index.php?s=home&PHPSESSID =a94d7f88ceb58746359afa48d11c7ba8" id="

 

 

Jeg bruker et switch script for å endre innholdet. Og jeg benytter link av denne typen:

<a href="index.php?s=home"  id="home"><span class="hidden">Home</span></a></li>

 

Og her er switc scriptet:

<?php

switch($_GET['s'])

{

case 'home':

require('news.php');

break;

 

case 'article':

require('article.php');

break;

 

default:

require('news.php');

}

 

Er det noen som har løsning på dette?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...