Use of Thinkphp save()
小叮当
小叮当 2018-06-07 14:55:53
0
4
1639

N$CY14UO986CWYZ~YF8N1I3.png2]94WHON[)6YORNMG7UZMZ0.png

There is obviously an id value but it is missing in the sql statement

小叮当
小叮当

reply all(2)
小皮

$data['aid']=I('get.aid');There is no AID in your data

  • reply There is no aid obtained by GET on the current page. You can only use hidden fields to pass parameters. Thank you.
    小叮当 author 2018-06-07 15:17:02
无忌哥哥

The conditions in where are written incorrectly. The double quotes comment out the variable $aid.

  • reply Variables are enclosed in single quotes
    小叮当 author 2018-06-10 15:12:17
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!