Hi,
In my header.inc template, I declared:
<?php
global $INDEXTYPE;
?>
in my Registration form, I passed a value to my global variable:
<?php
$page_title = 'Welcome!';
include ('./header.inc');
$GLOBALS("INDEXTYPE")="AA";
?>
I got this error:
parse error, unexpected '=' in C:\web\Apds\Registration_form.php on line 6
This is line 6:
$GLOBALS("INDEXTYPE")="AA";
What is wrong with my code?
jozin
