search

Home  >  Q&A  >  body text

tp6's $Think gets the value but does not output it

For example, get the id

$Think.get.name

The name has been passed in, but no error is reported and no value is output. Is there any file that is not open?

    1639 days ago1447

reply all(5)I'll reply

  • 卖老冰棍的小女孩

    卖老冰棍的小女孩2020-05-20 15:24:45

    $_GET['name'], please check whether the name parameter is passed

    reply
    1
  •   

    $_GET['name'] under * a template is displayed on the page, but $Think.get.name*{:I('get.name')} is not * displayed

       · 2020-05-20 15:28:34
      

    After passing parameters, $_GET['name'] can be used normally, but $Think.get.name*{:I('get.name')} does not report an error and the page has no data.

       · 2020-05-20 15:30:29
      

    Thank you for your reply. The problem has been solved. $Think has been changed to $Request.

       · 2020-05-20 15:40:44
  •   

      2020-05-20 03:22:16

    is not output after getting the name

    reply
    0
  • Cancelreply