query->results)) { //echo "yessir"; date_default_timezone_set('Australia/Sydney'); $date = date('d/m/Y h:i:s a', time()); echo "
".$event->title." "; if (str_replace("null", "", $event->image) != "") echo ""; echo " "; echo "".$event->user." "; if (str_replace("null", "", $event->userimage) != "") echo ""; echo " "; echo "".date('d/m/Y h:i:s a', $event->timestamp)." AEST "; echo "" . str_replace("null", "", $event->description) . " |