<?php echo date('h:i A', strtotime(substr($row['time'],0, -3)));?>
--
public function alltimes()
{
$timedata = $this->user_model->get_joins('availabletimes','','','');
$result = array();
foreach($timedata as $row) {
$timeslot = array(
'id'=> $row['id'],
'time'=>date('h:i A', strtotime(substr($row['time'],0, -3)))
);
array_push($result, $timeslot); //array_push(array, var)
}
echo json_encode($result);
}
----
Horizon is an API server for the Stellar ecosystem. It acts as the interface between stellar-core and applications that want to access the Stellar network. It allows you to submit transactions to the network, check the status of accounts, subscribe to event streams, etc.
----
array_intersect();
$result = !empty(array_intersect($people, $criminals));
---
########## COUNT ARRAY ##############
$data['customer'] = comparebookingtimes();
echo ($customer == false ) ? 0 : count($customer);
/*
Gives array count if array doesn't return false.
--
public function alltimes()
{
$timedata = $this->user_model->get_joins('availabletimes','','','');
$result = array();
foreach($timedata as $row) {
$timeslot = array(
'id'=> $row['id'],
'time'=>date('h:i A', strtotime(substr($row['time'],0, -3)))
);
array_push($result, $timeslot); //array_push(array, var)
}
echo json_encode($result);
}
----
Horizon is an API server for the Stellar ecosystem. It acts as the interface between stellar-core and applications that want to access the Stellar network. It allows you to submit transactions to the network, check the status of accounts, subscribe to event streams, etc.
----
array_intersect();
$result = !empty(array_intersect($people, $criminals));
---
########## COUNT ARRAY ##############
$data['customer'] = comparebookingtimes();
echo ($customer == false ) ? 0 : count($customer);
/*
Gives array count if array doesn't return false.
Comments
Post a Comment