How to get all appointments title at same date from array in php? -
i need find appointments @ same date.
appointments saved in appointments table in timing fields , title of appointment saved in title field. fetch associative array sql query, hidden following code:
$appt = $u->getappointments($starttime,$endtime);
now want fetch appointments title @ same date so:
[2011-07-02 12:21:00] => "title1","title2" [2011-07-03 01:03:00] => "name1","name2","name3"
by hidden, i'll infer have no access code, or it's doing? appear method exposed asks $starttime,$endtime
, why not implement simple form asks date, date picker ...
- http://php.net/manual/en/function.time.php
- http://www.php.net/manual/en/function.mktime.php
- or personal favorite: http://ch.php.net/manual/en/class.datetime.php
if question related getappointments($starttime,$endtime)
, modifying that, should post source of method people can out. otherwise, timestamps friend.
Comments
Post a Comment