Class problem
Author |
Message |
joaomello
|
Posted: Fri Apr 18, 2008 11:31 am Post subject: Class problem |
|
|
Hi?!
Well.. I'm doing this at PHP:
<?
class test
{
function t()
{
echo "ok";
}
}
function ctest()
{
$ta = new test();
$ta->t();
}
?>
But it print a error that not found class test =/
Sorry for my English, I'm from Brazil
Mello. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
joaomello
|
Posted: Fri Apr 18, 2008 11:53 am Post subject: RE:Class problem |
|
|
I just forget to include the class file xD |
|
|
|
|
 |
|
|