DD
Deborah A Diamanti Asked this
Hi, I did this but now get this error
syntax error, unexpected token "if", expecting "function" or "const"
So I uploaded the original page.php file back.
Can you figure out what I did wrong? Maybe I inserted it in the wrong place. In my html editor this is what is on line 117 to 121. Line 121 only has } so I inserted the code right after that.
$data['created_by'] = $this->checkExistingUser($data['created_by']);
parent::save($data);
return true;
}
Thanks so much for your help. Looking forward to hearing back from you.
Deb