When generating Note class objects
123
123 2017-08-11 15:59:20
0
1
994

When generating the Note class object, $model=D('Note');

reports an error saying syntax error, unexpected $model

123
123

reply all(1)
ringa_lee

You reported a grammatical error

  • reply $model=D('Note'); syntax error, unexpected '$model' (T_VARIABLE) var_dump(D('Note')); is correct, $model reports an error
    123 author 2017-08-14 15:52:57
  • reply The printing is correct, indicating that there is no error in instantiation, but an error occurred when passing it to the model. why
    123 author 2017-08-14 15:54:05
  • reply Solved, it was my own problem. . . .
    123 author 2017-08-14 16:25:55
  • reply Solved, it was my own problem. . . .
    123 author 2017-08-14 16:25:57
  • reply Hey, what's the problem?
    ringa_lee author 2017-08-15 11:14:51
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template