1
Hello XOOPSian
can you help me with this query
i would like to show todays event manually using the query below outside of xoops..currently testing this in localhost inside XOOPS
event_start is stored as integer eg 1306112400
le="color: #000000"><?php $time = time(); //echo $time; $today=date("d/m/Y", strval($time)); //echo $today; global $xoopsDB; $sql = "SELECT * FROM " . $xoopsDB->prefix('extcal_event') . " WHERE DATE_FORMAT(event_start, '%d/%m/%Y')='$today' ORDER BY event_start";
The code is not working at the moment, can you guys help me..Please