Welcome Guest, Not a member yet? Register   Sign In
Blog Archives
#4

[eluser]Yash[/eluser]
Complete working function

Code:
$query = $this->db->query('select DISTINCT PostedDate from posts');
  foreach ($query->result() as $row)
  {

  $input[]= "<a >PostedDate,0,7)."\">".date("F Y ",strtotime($row->PostedDate))."</a>";
            
            
}

$result = array_unique($input);
print_r($result);


Messages In This Thread
Blog Archives - by El Forum - 07-22-2008, 01:15 AM
Blog Archives - by El Forum - 07-22-2008, 01:43 AM
Blog Archives - by El Forum - 07-22-2008, 03:25 AM
Blog Archives - by El Forum - 07-22-2008, 03:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB