Welcome aboard sTimulated. Couple things to start with.
1-Notice: Undefined index: highlight in H:\wamp\www\stimulatedgaming\rfactorreport\lapbylap.php on line 32
......
$highlight = $_REQUEST['highlight'];
What this means is there's no value being set in request for "highlight." The solution would be whatever is happening
previous that posts to this script. Maybe you have a mis-named form element or broken HTML that is causing the form not to send properly (like a form nested inside another form, pretty common.)
You could (and should) do this as a matter of good error trapping:
if (isset($_REQUEST['highlight']) and ! empty($_REQUEST['highlight'])) {
$highlight = $_REQUEST['highlight'];
}
else {die("Highlight is not being set, check the form or link."); }
But you will of course get that die message. This is what it's telling you.
The rest of the errors are PROBABLY cascading from this one error - second reason for good error trapping. It stops the script immediately. Your script is likely stumbling on trying to make sense of what you're feeding it because the whole thing relies on there being a value for "highlight."
These
Deprecated: Function split() is deprecated...
should be substituted for preg_split()
list($majorC, $minorC, $editC) = preg_split('/[/.-]/', PHP_VERSION);
This,
I experimented with line 248 by removing one of the = and that error no longer appeared.
if ($tijd[$i][$j] == 0) {
is a mistake (a pretty big one. :-) ) The two =='s means "if it's equal to" but when you only have one, what you're doing is
setting the value of what's on the left to whatever's on the right. The "if" only means "if setting this value to something succeeds, do something" whereas the original intent is "if this value is equal to that value then do something":
$tijd[$i][$j] = 1;
echo $tijd[$i][$j]; // echo's "1"
Maybe I just need some other modules adding?
Unlikely that adding more modules or files will un-complicate the problem. Start with figuring out why you have no "highlight" in $_REQUEST.