Hi, i need declare a class at level from project, (i checked in PROGRAMING - LIBRARY - projec library) a file called proy_mov.php:
But when i declare the class thus:
$test = new proy_mov();
i get a error message: Fatal error: Class ‘proy_mov’ not found in C:Program FilesNetMakev6wwwrootscriptcaseappPosMSform_movform_mov.php on line 512
this my class definition:
<?php
class proy_mov
{
var $mov_fcha, $suc_cdgo, $bod_cdgo;
function __construct(){
$this->suc_cdgo = 0;
$this->bod_cdgo = 0;
}
function setSuc($value) {
$this->suc_cdgo = $value;
}
function getSuc() {
return $this->suc_cdgo;
}
}
?>
Which is my error? or how can i declare it?