A beginner in php, I want to ask the next small question. I used a community created in discuz2.5. the log enabled classification in the background, such as mood diary. Funny log. After I click the "mood diary" category of the log, click the release log to go to the release page. the log contains the site category, which is my log category, after entering the page, the default category of "mood diary" that I click is displayed. I don't know how to implement it ?????? Alas, the new user code is not very easy to write. ask the teacher for guidance, and ask the new php user the next small question.
I used a community created in discuz2.5. logs enable classification in the background, for example, mood diaries. Funny log. After I click the "mood diary" category of the log, click the release log to go to the release page. the log contains the site category, which is my log category, after entering the page, the default category of "mood diary" that I click is displayed. I don't know how to implement it ?????? Alas, the new user code is not very easy to write, ask the teacher to guide ,,,
------ Solution --------------------
Check whether there are any default category settings in the background category.
------ Solution --------------------
Is that the transfer value ..
For example, if the mood log code is 1, type = 1 will be passed when you click in.
Http://xxx.com/edit.php? Type = 1
Then obtain the type based on the type.
This parameter value is added when the request is submitted.
No...
In short, first match the category type... and then pass the corresponding value.