mardi 30 octobre 2018

Gettting error " Parse error: syntax error, unexpected ''../app/views/home'' (T_CONSTANT_ENCAPSED_STRING) in ......."

I think that the parameter "view" doesn't linked each other I don't know why it's happen, please help me to fix it,thanks :)

public function view ($view, $data = []){

    required_once '../app/views/' . $view . '.php';

}

note: Sorry for my bad english




Aucun commentaire:

Enregistrer un commentaire