Hi Olaf:
Maybe im wrong, but... in the class constructor
function format_timestamp() {
$this->reg_date = date("Y-m-d");
$this->reg_date = "00:00:00";
}
$this->reg_date = "00:00:00"; <-- This must be $this->reg_time insted ?
Great offers not only for geeks!
Hi Olaf:
Maybe im wrong, but... in the class constructor
function format_timestamp() {
$this->reg_date = date("Y-m-d");
$this->reg_date = "00:00:00";
}
$this->reg_date = "00:00:00"; <-- This must be $this->reg_time insted ?
yep you're right...
I think that was my first class, never touched it for years. I think you don't need it because you can format date/time within MySQL much faster...
You must log in to post.