miren el problema k tengo es este
tengo esta función la cual tiene un atributo $fecha .
Código PHP:
   ipublic function fecha($fecha) {
 
        $objmysql = new mysql();
 
        $this->conexion = $objmysql->conectarBD();
        $this->fecha = $fecha;
 
        $this->sql="select fecha
from cabecera
where fecha = '$this->fecha'";
 
        $this->resultado = mysql_query($this->sql, $this->conexion);
 
        return $this->resultado;
 
    } 
    Código PHP:
   include_once 'clases/CRUD_Detalles.php';
$objCrud = new CRUD_Detalles();
$res = $objCrud->fecha($fecha); 
    alguien me podria ayudar con eso porfa.........
 
 
 problema con atributo de funcion php
 problema con atributo de funcion php 



