I have included php class file which contains all the classes as But in output it is showing content of classes.php file and fatal error class not found here i only want to use the classes written in "classes/classes.php".But it is showing contents of this file in output. please help me,i have tried all the ways. Thank U i开发者_运维知识库n advance.
Be carefull if you haven't put the php start tag ( <?php
) in classes/classes.php file.
It's not a joke, it's an usual error.
I tried to include a few pages in my PHP script and at first, they would print the contents of the file to the web page. I had forgotten to include the php qualifiers. Make sure your include page has the tags surrounding your code.
精彩评论