1
Help!
I'm trying to develop a module, actually porting the Open Moogle script. My index.php contains the following sofar:
[QUOTE]
<?php
include(XOOPS_ROOT_PATH."/mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
include(XOOPS_ROOT_PATH."/modules/openmoogle/moogleindex.php;
//standard for module name recognition
$ModName = 'OpenMoogle';
?>
<table width= '100%' align= 'center'>
<tr>
<td align='center'><big><strong>Open Moogle</strong></big><br>
<br>
<!-- Instructions to go in here-->
</tr>
<tr>
<td>
<?
include(XOOPS_ROOT_PATH.'/footer.php');
?>
[/QUOTE]
and when I try to connect from my main menu link, I get
[QUOTE]
Parse error: parse error, unexpected $ in /home/bassma00/public_html/modules/openmoogle/index.php on line 18
[/QUOTE]
Why am I getting this?