<?php
////DATABASE CONNECT////
include("dbconnect/dbconnect.php");
////VARIABELEN////
$act = $_GET['act'];
////LINKS////
if ($act == "home")
{
include ("inhoud/inhoud_home.php");
include ("inhoud/home/home.php");
}
if ($act == "aplus")
{
include ("inhoud/inhoud_aplus.php");
include ("inhoud/aplus/aplus.php");
}
Hier staat een heel stuk html sourch. waarin dit staat voor de link:
echo "<td width=\"101\">";
echo "<div align=\"center\">";
echo "<font face=\"Verdana\" size=\"-1\"><a href=\"index.php?act=home\" title=\"Home\"><b>Home</b></a></font></div>";
echo "</td>";
?>
Notice: Undefined index: act in C:\Inetpub\wwwroot\aplusprofessional\index.php on line 6
terwijl hij toch gedefineerd is.
al druk ik op een link van bijvoorbleed home.php
zodat ik deze string krijg:
http://*******/index.php?act=home
dan is de foutmelding weg
maar gewoon als ik gewoon eerst de index.php open dat heb ik een foutmelding.
////DATABASE CONNECT////
include("dbconnect/dbconnect.php");
////VARIABELEN////
$act = $_GET['act'];
////LINKS////
if ($act == "home")
{
include ("inhoud/inhoud_home.php");
include ("inhoud/home/home.php");
}
if ($act == "aplus")
{
include ("inhoud/inhoud_aplus.php");
include ("inhoud/aplus/aplus.php");
}
Hier staat een heel stuk html sourch. waarin dit staat voor de link:
echo "<td width=\"101\">";
echo "<div align=\"center\">";
echo "<font face=\"Verdana\" size=\"-1\"><a href=\"index.php?act=home\" title=\"Home\"><b>Home</b></a></font></div>";
echo "</td>";
?>
Notice: Undefined index: act in C:\Inetpub\wwwroot\aplusprofessional\index.php on line 6
terwijl hij toch gedefineerd is.
al druk ik op een link van bijvoorbleed home.php
zodat ik deze string krijg:
http://*******/index.php?act=home
dan is de foutmelding weg
maar gewoon als ik gewoon eerst de index.php open dat heb ik een foutmelding.