Whats wrong with my php code?
I get this error" Parse error: parse error, unexpected '=', expecting ')' in /home/content/g/h/o/ghostingadmin/html/arktos/plugins/system/comments.php on line 34
here is the code. anyone know?
class ContactController extends JController
{
/**
* Display the view
*/
function display()
{
$document =& JFactory::getDocument();
$viewName = JRequest::getVar('view', 'category', 'default',
'cmd');
$viewType = $document->getType();
// in
|