The column ID and user ID are not selected on the article publishing page. How to make the association?
2018-12-05 10:25:55
0
2
1268

## model car factory

# 辆

Transport***

yuan/ton

Departure date

Vehicle source tag

Remarks

           

Contact

***

Post

1.png2.png3.png

###

reply all(1)
西门大官人

1. The user ID should not be selected. After logging in, it is saved in the session or in a cache such as redis. Just add it when saving the article.

2. There is no need to select the column. When the user clicks on the "Logistics ***", "Logistics Vehicle Source" and other columns to enter the publishing page, the cid can be passed to the article publishing page through the URL parameter. Then use <input type="hidden" name="cid" value="cid value"/> to record on the article publishing page. When submitting the article, the cid will be submitted to the background together. Just receive and save in the background

  • reply Session::set('user_id',$user_id); No idea
    author 2018-12-05 12:21:35
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template