1、 Class Term { var $term; .....2、 $term_class = new Term(); $term_instant = $term_class->this_Term();
No, it doesn't make sence. And all the class content was printed on the interface. And Fatal error: Cannot instantiate non-existent class: term in -->point to $term_class_1 = new Term(); Can you help ?
sorry, point to $term_class = new Term();
Finally, I found my error --> I did not add <?php at the function fileThanks, everyone
Class Term
{
var $term;
.....2、
$term_class = new Term();
$term_instant = $term_class->this_Term();
And all the class content was printed on the interface.
And Fatal error: Cannot instantiate non-existent class: term in
-->point to
$term_class_1 = new Term();
Can you help ?
$term_class = new Term();
--> I did not add <?php at the function fileThanks, everyone