thinkphp Template Output
There are several methods in a searchaction, the index () method, the search () method, the Choose () method. The form form submitted to the search () method can be displayed correctly, using the index or choose method to report an error. There are no problems with these three methods. When exporting a template:
$this->display (); Use this sentence to error, can not find the template
$this->show (' OK '); With this sentence can be displayed OK, no error, but only show ok these two words
What's going on? What statement should I use?
Reply to discussion (solution)
Please put out your error message.
Please put out your error message.
If you change to show (' OK '), only the word "OK" is displayed.
Please put out your error message.
When the problem is found, the display () is displayed (' Search ') as normal. I also have a question that is thinkphp associated with the query. The Association of Hospitals and departments, level two Guan, but the level Three association will not. I've already replied to you on that post.
Please put out your error message.
When the problem is found, the display () is displayed (' Search ') as normal. I also have a question that is thinkphp associated with the query. The Association of Hospitals and departments, level two Guan, but the level Three association will not. I've already replied to you on that post.
have replied.