PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Complimentary Downloads
7 Days of Complimentary Downloads: 100,000+ Motion Backgrounds, Video Clips, Production Music Tracks, Sound Effects, Special Effects and More.  | From our sponsors | | |
gan newbie nanya nie... baru nyoba CI.. eh dah ke... Aug 26th 2013, 17:59, by Indra Dwi Nugroho | gan newbie nanya nie...
baru nyoba CI.. eh dah kebingungan ni gan
pesan si robot
mohon pencerahannya master |
| | padahal ane udah buat helpernya
<?php if (!defined('BASEPATH')) exit('No Direct script access allowed');
function displaypre($teks = "") { $preteks = "<pre>"; $preteks. = $teks; $preteks. = "</pre>"; return $preteks; } ?> |
| | naruhnya dah bener belum ? helper ditaruhnya di application/helpers/
misal application/helpers/contoh_helper.php
trus diload dulu di controller $this->load->helper('contoh_helper');
baru fungsinya bisa dipakai di view
echo contoh_function(); |
| | iya udah...
tapi yang ini $this->load->helper('contoh_helper') belum
saya pikir cukup $this->load->helper('html') sama $this->load->helper('text') | | |
|
Tidak ada komentar:
Posting Komentar