View Single Post
Old 03-22-2009, 03:51 PM  
teh ghey
Guest
 
Posts: n/a
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
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote