Calling PHP functions from other files

To get something that’s soooooo handy you’d think it becomes easier to find information on this, but I explored google and arrived up empty.

How can i call PHP capabilities from other files

As an example, if I have a very file called selection. php and any function called title(), how can i call title() within another file, claim index. php

We’ve tried in list. php the following:

Code:
comprise 'library. php';

Title(" stringtobepassed" );

And it says that the function title can be undefined.

Well, title and Bill are two diverse functions

The strategy you’ve mentioned on top of works perfectly.

This entry was posted in Web Design and tagged , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *