T
T
Tat622018-05-02 20:16:17
Yii
Tat62, 2018-05-02 20:16:17

Why is the page address not formed correctly when calling the modal window?

I need to pass the id parameter to actionUpdate and display the view in the modal window. Here is the address:
.../web/index.php?r=manual1/update?id=100
causes a 404 error. What to do ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Absalyamov, 2018-05-02
@rusline18

It is impossible to answer this question precisely, because there is no code. So look if there is such a page or not, maybe there is no such page in the controller or there is no id with such a record. There are many options, I can't say for sure.

J
Justique, 2018-05-03
@Justique

Your link is wrong
but you need

/web/index.php?r=manual1/update & id=100

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question