Hi all I am trying to call a simple function and I keep getting an error
"Parse error: syntax error, unexpected ';', expecting '{' in C:\wamp\www\david\remoteaccess\index.php on line 15"
This relates to the call and I don't understand why it does not work. I am using WAMP if that makes any difference.
Thanks in advance
David
`
<?php
//session_start();
//include("includes/utilities.php");
//$Errors = "";
// $_SESSION['LoggedIn'] = false;
// $_SESSION['UserID'] = "";
// $_SESSION['UserAdmin'] = false;
function hello() {
print "<h1>HELLO!</h1>";
print "<p>Welcome to my web site</p>";
}
function hello();
?>
`