Thread
:
Calling a method on the other file..? - help!
View Single Post
#
2
(
permalink
)
10-18-2007, 12:54 AM
TeraTask
PT Admin
Awards Showcase
Total Awards
: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 442
iTrader: (
0
)
You do this:
PHP Code:
class
B
{
A a
;
// or I have to do this first, and then...
a
.
A1
();
}
Files can be included anywhere, just use the include function and include the proper directory in the path. E.g. include_once('AScript/a.php');
__________________
Jeremy Miller
Content Farmer -
Optimized Automated Blog Posting
TeraTask
View Public Profile
Send a private message to TeraTask
Visit TeraTask's homepage!
Find all posts by TeraTask