Selasa, 15 Oktober 2013

PHP Indonesia - Facebook: gan, nanya tentang CI. kalo di php native: if(isse...

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/ 
Fun with Brazilian Portuguese

Learn the tips and tricks to speak colloquial Portuguese in a natural and confident manner. Enroll today for just $69!
From our sponsors
gan, nanya tentang CI. kalo di php native: if(isse...
Oct 15th 2013, 14:06, by Bayu Septian

Bayu Septian 2:06pm Oct 15
gan, nanya tentang CI.
kalo di php native:
if(isset($_SESSION['username']))
{$username= $_SESSION['username'];
echo $username; }

kalo di CI gmn gan?

Gunawan Mujur Wibisono 2:09pm Oct 15
pastikan library session dipanggil dahulu... biar greget baca disini http://ellislab.com/codeigniter/user-guide/libraries/sessions.html

Gunawan Mujur Wibisono 2:09pm Oct 15
$this->load->library('session');
$YgGwCari=$this->session->userdata('mauNyariApa');
... sisanya tersserah anda

Chiko Abdul Qohar 2:25pm Oct 15
pakek ionauth aja :D

Gunawan Mujur Wibisono 2:29pm Oct 15
itu ntar aja kl dah faham session di ci

Bayu Septian 2:30pm Oct 15
gan nilai dari set user data apa isinya di set sendiri? gmn kalo nilainya ngambil dari tabel?

Gunawan Mujur Wibisono 2:31pm Oct 15
itu pertanyaan nyangkut session ngak? kok beda?

Bayu Septian 2:38pm Oct 15
iya, session->user data() user data nya kita masukin nilai terserah kita?

Gunawan Mujur Wibisono 2:45pm Oct 15
betul.. terserah kita

Bayu Septian 2:47pm Oct 15
oh ya gan, ane dah paham sekarang. maaf merepotkan.

Bayu Septian 3:04pm Oct 15
tanya lg gan, di controler $this->load->library('session'); $YgGwCari=$this->session->user data('mauNyariApa'); di viewny nampilinya gmn? tinggal panggl $YgGwCari aja?

Gunawan Mujur Wibisono 3:22pm Oct 15
bs panggil lagi pas di view
$YgGwCari=$this->session->user data('mauNyariApa');

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar