public function downloadcsvAction() { $this->_helper->viewRenderer->setNoRender(true); $this->_helper->layout->disableLayout(); $query=Engine_Db_Table::getDefaultAdapter()->select() ->from(‘engine4_users’,array(‘user_id’,’email’,’displayname’,’level_id’,’enabled’,’approved’,’creation_date’)) ->where(‘user_id !=?’,1) ->where(‘user_id not in (?)’, array(‘685′,’870′,’948′,’965′,’1031′,’1249′,’1279′,’1283’)); $aResult= $query->query()->fetchAll(); header(‘Content-Type: application/csv’); header(‘Content-Disposition: attachement; filename=”users.csv”‘); $f = fopen(‘php://output’, ‘w’) or show_error(“Can’t open php://output”); $n = 0;$line = array();$array=array(); $line[]=’Email’; $line[]=’Display Name’; $array[]=$line; $line[]=’info@smarttips.in’;$line[‘sijo’]; $array[] = $line; } foreach ($array as $user) { $n++; if (!fputcsv($f, $user)) { show_error(“Can’t…
Author: Sijo Thomas
Sijo Thomas is an IT professional, web technology enthusiast, and digital content creator with hands-on experience in IT support, website management, SEO, AEO, GEO, digital marketing, and online tools. Through Smart Web Solutions, he creates practical technology guides, free digital tools, Malayalam resources, AI-related content, and easy-to-follow tutorials designed to help everyday users solve real digital problems. His interests include artificial intelligence, web technologies, search optimization, automation, productivity tools, WordPress, and emerging digital trends. Sijo focuses on simplifying technical topics and turning them into clear, useful resources that readers can easily understand and apply. You can explore more of his work at SmartWebSolutions.org.
Trace and search all mobile numbers, fixedline, International numbers and find missed caller information
Trace all mobile numbers , fixed line numbers and international numbers , trace missed caller information with location and network operator. http://www.locatemobilenumber.in
Change skype file download location
Change Skype tool file download location. Skype is a useful tool for communication.Through Skype can send and receive files For changing download location of file Tools *-> Options *->Save files to *-> click on button to change the location
PHP foreach loop key value
PHP foreach loop key value foreach($data as $key => $value): echo $key; echo $value; endforeach; Example: <?php foreach($this->universities as $key => $value): if($key == $group->group_id): echo $value; endif; endforeach; ?>
