[play]
Customer: My right hand indicator is not working.
Mechanic: Well that could be the bulb, the switch the relay or the wiring.
Customer: Good, can you fix it?
Mechanic: Certainly where is your car?
Customer: Oh I left it at home.
Mechanic: So it's not here?
Customer: No, is that going to stop you fixing it?
Mechanic: You are a very silly customer!
[/play]
Warning: Missing argument 1 for render_header() in z:\home\localhost\www\crysalis\theme.php on line 9
I'd hope that this is rather obvious, you have called render_header without a required argument. The following example would produce this
[php]
function EchoWithNewLine( $text )
{
echo( $text . "\n" );
}
EchoWithNewLine();
[/php]
Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 15
You have used a constant that is not defined, so PHP assumes you mean the name of the constant itself as a string.
[php]
$THEME = "HELLO";
$text = THEME; /* Undefined constant, missing $ */
$array = ( "THEME" => "BLUE", "SIZE" => "BIG" );
$myTheme = $array[THEME];
/* Undefined constant, THEME should have " or '
round it, this will break later if someone
defines the constant THEME */
[/php]
Fatal error: Call to undefined function: dbquery() in z:\home\localhost\www\crysalis\theme.php on line 36
You have called a function that is not defined anywhere
[php]
ThisFunctionDoesNotExist();
[/php]