![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/09/2011, 09:31
|
| | Fecha de Ingreso: agosto-2011
Mensajes: 80
Antigüedad: 13 años, 5 meses Puntos: 0 | |
Respuesta: problema con atributo de funcion php pues por eso te digo k es con esta funcion
public 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;
} |