這個網誌中的熱門文章
How to PHP export to Excel
How to PHP export to Excel export.php <?php require 'php-excel.class.php'; $xls = new Excel('Sheet1'); $xls->worksheets['Sheet']->addRow(array("col1"," col2 "," col3 ")); $xls->addsheet(' Sheet2 '); $xls->worksheets[' Sheet2 ']->addRow(array(" col1a "," col2a "," col3a ")); $xls->generate('export'); ?> php-excel.class.php <?php class WorkSheet { private $lines = array(); public $sWorksheetTitle; public function __construct($sWorksheetTitle) { $this->setWorksheetTitle($sWorksheetTitle); } public function setWorksheetTitle ($title) { $title = preg_replace ("/[\\\¦:¦\/¦\?¦\*¦\[¦\]]/", "", $title); $title = substr ($title, 0, 31); $this->sWorksheetTitle = $title; } public function addRow ($array) { $cells = ""; foreach ...
Facebook adds new emotion selection tool, making it easier to converse
Facebook adds new emotion selection tool, making it easier to converse See that? That's a new feature on Facebook's status box, which has started to roll out this morning after earlier testing in January. It's also covering up a pretty depressing note from a friend underneath, who would've undoubtedly selected "sad" if he were to have recognized said feature before posting a conventional status update. For now, it appears that the emotion selection tool is only hitting select US-based users, as our European contingent has yet to see it appear on their profiles. Essentially, a smiley face has been added to the right of the photo button, and pressing it gives you a quick way to update your status -- you can share an emotion, or what you're watching / listening to / reading / drinking / eating. It seems as if Facebook wants to funnel conversations a bit; instead of only giving you free rein to blabber in a status box, it'd much rather you updat...

留言
張貼留言