python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Yii2: Controller action parameters with a dash?
If I have a URL like https://example.com/controller/action?customer-id=7414 how do I get customer-id in my action parameters? Since a dash is not allowed in variables names I cannot do the following!
...
TheStoryCoder
Votes: 0
Answers: 1
How to upgrade from yii1 to yii2
I have a old YII1 project, version: 1.1.24.
And I want to upgrade to YII2. And of course I have read the official documentation:
https://www.yiiframework.com/doc/guide/2.0/en/intro-upgrade-from-v1
So ...
mightycode Newton
Votes: 0
Answers: 0
Non-static method common\components\DirectoryHelpers::mimeType() should not be called statically
totally php newbie here.
need help about our library program here.
i try to upload our book cover to our webserver, but get this error instead.
the problem lines here
got this task to connecting our ...
Noisyheaven
Votes: 0
Answers: 1
Delete all model queries in yii
AllAdjustments::deleteAll(['plan_year_id' => $plan_year_id, 'column_type' => array_keys($allAdjustment), 'is_auto' => $is_auto,
['NOT',['column_id'=>1]],
]);
...
Shubham Gupta
Votes: 0
Answers: 1