Build Own PHP MVC Framework (Bangla Tutorial) : Part-03

preview_player
Показать описание
PHP Object Oriented Programming (OOP) Bangla Tutorial - MVC Framework.
Template Source -
-----------------------------------For more help------------------------------------
------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

At last, I did fix this error. This code work for me : )
$string = str_replace('"', " ", $url[1]);
$ctlr->$string($url[1]);
$ctlr->$string($url[2]);

CodewithNababur
Автор

sir, please come back. we are miss you.

AlamKhan-ytwd
Автор

Thanks for the tutorial first of all.
Everything works fine except on thing for me.
$ctlr->$url[1]();
when I use the above line, error comes up. But if i do the following it works.
$a = $url[1];
$ctlr->$a();
Can you please tell me why this is happening?

ahmedimtiajrasel
Автор

thanks for your project at first.
ctlr->$url[1]();
is not working. but
ctlr->jahan(); is working. why????

tipusholtan
Автор

vaia, Kono class k extends korte hole parent class k abstract declare kora ki mandatory? Ekhane dekhlam system/libs/DController k abstract declare kora hoyni. but it is working as well. Please janaben.

MahadySujon
Автор

I Solve this:

$ctlr = new $url[0]();
$string = str_replace('"', "", $url[1]);
$ctlr->$string($url[1]);

mdmonoarhosen
Автор

i faces the same error but actully it's a version problem
if you use wamp then it's ok, it doesn't show any erro .. or u should use older version of xampp
it doesn't work with new version xampp
otherwise storing the url[1] in variable which is the good process to do it, such as
$a = $url[1];
$ctlr->$a();

mhdip
visit shbcf.ru