0

I'm getting an error and I don't know how to resolve it.

The error is :

Parse error: syntax error, unexpected '[', expecting ')'

Code is :

$message = str_replace(['\\', '"'], ['', '"'], crtl_data($_POST['message']));

I have checked the whole line but there seems no errors in there ? What is going wrong here ?

0 Answers0