Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Universal Save & Edit methods?
Post: RE: Universal Save & Edit methods?

off topic @narf Why do you want me to speak fluent in english, jesus english is not my primary language. I'm asian. You must be happy with me I can speak basic english. Can you speak my language...
18,349 Views
10 Replies
03-13-2016, 07:03 AM
solidcodes
    Thread: Universal Save & Edit methods?
Post: RE: Universal Save & Edit methods?

@ivantcholakov thanks for trying to understand but the example codes above is not mine. I used it sometimes before but it is from another programmer. thanks for the suggestion. I'm dissapo...
18,349 Views
10 Replies
03-12-2016, 10:52 PM
solidcodes
    Thread: Universal Save & Edit methods?
Post: RE: Universal Save & Edit methods?

Here is a good example of a universal save method. Code: -- function save($op=NULL,$where=array()) { $model_for="Product "; $return=(object)array('status'=>false,'data'=>'Error Occu...
18,349 Views
10 Replies
03-12-2016, 06:24 PM
solidcodes
    Thread: Universal Save & Edit methods?
Post: RE: Universal Save & Edit methods?

off topic. I can't believe NARF just give me -1 for this thread. @NARF Just because you did not understand the topic, that doesn't mean a -1 rating is right??? I'm glad the two other guy abov...
18,349 Views
10 Replies
03-12-2016, 06:01 PM
solidcodes
    Thread: Universal Save & Edit methods?
Post: RE: Universal Save & Edit methods?

@dmyers +1 for sharing. thanks.
18,349 Views
10 Replies
03-12-2016, 03:51 PM
solidcodes
    Thread: Universal Save & Edit methods?
Post: Universal Save & Edit methods?

Would anyone like to share the codes of these methods? DRY.... thanks in advanced.
18,349 Views
10 Replies
03-12-2016, 12:06 AM
solidcodes
    Thread: Session proper config?
Post: RE: Session proper config?

keulu Wrote: (03-11-2016, 06:35 AM) -- it's because you don't affect key to your session array. In your case, you can access to your vars like that. PHP Code: -- $username = $this->session->user...
7,718 Views
4 Replies
03-11-2016, 12:21 PM
solidcodes
    Thread: Session proper config?
Post: Session proper config?

autoload.php Code: -- $autoload['libraries'] = array( 'database', 'email', 'session' ); -- config.php Code: -- $config['encryption_key'] = 'Xasdf32zsdfj0e98ehBDS3xS9j3DAIHKwdfweHfdks...
7,718 Views
4 Replies
03-11-2016, 05:53 AM
solidcodes
    Thread: Community-Auth variables?
Post: RE: Community-Auth variables?

Yes I'm using old version of CodeIgniter 3.0 only and older version of Community-Auth. This is fine for me now, because I'm in a hurry!!! lol
11,144 Views
8 Replies
03-05-2016, 08:21 PM
solidcodes
    Thread: Community-Auth variables?
Post: RE: Community-Auth variables?

problem solved.
11,144 Views
8 Replies
03-05-2016, 08:08 PM
solidcodes
    Thread: Community-Auth variables?
Post: RE: Community-Auth variables?

Hi skunkbad sorry for this inconvenience. I re-dig the codes again and I found out the documentation and the actual codes do not matched. In the documentation for example it says this for view var...
11,144 Views
8 Replies
03-05-2016, 08:06 PM
solidcodes
    Thread: CI with height traffic project.
Post: RE: CI with height traffic project.

projack89 Wrote: (03-03-2016, 07:14 PM) -- solidcodes Wrote: (11-18-2015, 07:10 PM) -- @seasenx6 codeigniter can't handle high traffix? that's funny. How did you know it's high traffix even though...
19,429 Views
11 Replies
03-05-2016, 07:16 PM
solidcodes
    Thread: Community-Auth variables?
Post: RE: Community-Auth variables?

actually I want the $auth_username in the view. I tried like this below, Code: -- -- but I got error. the proper way to acces the variables in view? thanks in advance...
11,144 Views
8 Replies
03-04-2016, 11:48 PM
solidcodes
    Thread: Community-Auth variables?
Post: RE: Community-Auth variables?

thanks dude. +1 to make it 20. ;)
11,144 Views
8 Replies
03-04-2016, 10:19 PM
solidcodes
    Thread: Community-Auth variables?
Post: Community-Auth variables?

I'm trying to access the variables inside the controller? Code: -- class Front extends MY_Controller { function __construct() { parent::__construct(); $...
11,144 Views
8 Replies
03-04-2016, 07:54 PM
solidcodes
    Thread: Get config item in model
Post: RE: Get config item in model

Can you show us the codes how did you load the model?
15,856 Views
6 Replies
02-25-2016, 06:41 PM
solidcodes
    Thread: misc_helper
Post: RE: misc_helper

@Diederik It's hard to guess the codes, when we don't see the actual result/output. lol
11,540 Views
11 Replies
02-25-2016, 06:09 AM
solidcodes
    Thread: misc_helper
Post: RE: misc_helper

@malbe Did you tried my codes above? What is the output/result when you do each of them? Can you provide screen shots each of them? Can you provide the URL?
11,540 Views
11 Replies
02-25-2016, 05:11 AM
solidcodes
    Thread: misc_helper
Post: RE: misc_helper

Or try by removing the echo Code: -- static function display_price( $oprice, $user_no ) { if( !empty( $oprice ) ) { $prices = self::get_available_prices( $oprice, $user_no ); //ech...
11,540 Views
11 Replies
02-25-2016, 03:22 AM
solidcodes
    Thread: misc_helper
Post: RE: misc_helper

Not tested but try experimenting by removing the RETURN. Code: -- static function display_price( $oprice, $user_no ) { if( !empty( $oprice ) ) { $prices = self::get_available_prices( $opri...
11,540 Views
11 Replies
02-25-2016, 03:09 AM
solidcodes

Theme © iAndrew 2016 - Forum software by © MyBB