Hi!
I am making an portal for my website, and, you got to have custom functions, right?
Well..i got a problem.
This is my code:
define("GLOBAL_HTTP_ROOT", "http://localhost/lmsuportal/");
function goTo ($page) {
$string = "<html><head><meta http-equiv=\"Refresh\" content=\"0,"GLOBAL_HTTP_ROOT . "$page\"></head></html>"; // This is line 43
echo $string;
}
and I get this error:
PHP Parse error: syntax error, unexpected T_STRING in C:\www\lmsuportal\initfiles\global_init.php on line 43
I know what the error means, i just dont know why it´s triggered. The code is correct, right?