<?php /** * Xml helper * * Created on 2011. 11. 18. * @author 불의회상 <hoksi2k@hanmail.net> * @package helper * @subpackage controllers * @version 1.0 */ class Xml_hlp extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper('xml'); } function index() { $data['xml_convert'] = xml_convert("CI와 함께 즐겁운 코딩~~ <웅파&불의회상&최용운&탱크&이현석&양승현&KangMin> ^^'\"----"); $this->load->view('xml_hlp_sample', $data); } }
<?php $this->load->view('inc/header')?> <table class="tablesorter" border="0" cellpadding="0" cellspacing="1"> <thead> <tr> <th style="text-align:center" width="20%">구분</th> <th width="80%">결과</th> </tr> </thead> <tr> <td>xml_convert()</td> <td><xmp><?php echo $xml_convert?></xmp><?php echo $xml_convert?></td> </tr> </table> <?php $this->load->view('inc/footer')?>
© Copyright by hoksi(Page rendered in 0.0111 seconds)