Hi i'm currently making a highly modular forum in PHP and i'm running into a slight problem with an error handler that i have started on and it has been stumping me, any help would be very much appreciated.

1. Line 74. You are ending a comment */. It doesn't have a matching /* .
2.

function WriteOutput() {
$output = '<br /><table bgcolor="#CCCCCC"><tr><td>";

You are assigning a string to $output. It starts with a ' but ends with a ".
3. I am not sure if your switch case will work. I usually use

switch($value) {
case 1:
case 3: 
   echo "Odd number"; 
   break;
case 2:
case 4: 
   echo "even number";
    break;

I m not sure about case 1,256: Umm.. These are the few errors that I see.

Cheers,
Naveen

simple, simple errors :( but the main one is php is telling me i am reassigning $this

I dunno! never heard of that before..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.