Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Best way to implement validation rules
Post: RE: Best way to implement validation rules

jasonzig Wrote: (02-10-2021, 12:01 PM) -- falcon812311 Wrote: (02-10-2021, 07:33 AM) -- Hi,  I'm developing a system for large scope project. I'm very confuse with validation in the CodeIgniter g...
2,789 Views
4 Replies
02-10-2021, 07:31 PM
falcon812311
  Sad Thread: Best way to implement validation rules
Post: Best way to implement validation rules

Hi,  I'm developing a system for large scope project. I'm very confuse with validation in the CodeIgniter guide/documentation  it is hard to understand. What is the best strategy to store valida...
2,789 Views
4 Replies
02-10-2021, 07:33 AM
falcon812311
    Thread: Tinymce 4.9.8 upload image
Post: RE: Tinymce 4.9.8 upload image

InsiteFX Wrote: (08-27-2020, 05:09 AM) -- Code: -- xhr.open('POST', ''); // change to xhr.open('POST', ""); -- -- Thank you for reply, still not working. Chrome console show error Code: -- U...
4,603 Views
5 Replies
08-27-2020, 07:16 AM
falcon812311
    Thread: Tinymce 4.9.8 upload image
Post: Tinymce 4.9.8 upload image

Hi guys, I need some help, I have problem with Tinymce version 4.9.8 upload image. I follow from this official guide (https://www.tiny.cloud/docs-4x/general-configuration-guide/upload-images/#rolli...
4,603 Views
5 Replies
08-26-2020, 09:21 AM
falcon812311
    Thread: Encryption output
Post: RE: Encryption output

paulbalandan Wrote: (08-20-2020, 12:22 PM) -- The output of encrypt is a binary string. So it will render on your screen strangely. You should encode it using either bin2hex or base64_encode before e...
1,742 Views
2 Replies
08-21-2020, 12:04 AM
falcon812311
  Shocked Thread: Encryption output
Post: Encryption output

Hello guys! I have problem with CI4 encryption and decryption... The problem is from encryption method it is show strange output. Sample Output: http://prnt.sc/u2vmwi (http://prnt.sc/u2vmwi)...
1,742 Views
2 Replies
08-20-2020, 06:48 AM
falcon812311
    Thread: Foreign key on database migration
Post: RE: Foreign key on database migration

Did you mean this? (https://codeigniter.com/user_guide/dbmgmt/migration.html#create-a-migration)
2,266 Views
3 Replies
08-12-2020, 08:30 PM
falcon812311
    Thread: How to add callback_ function settings using an array
Post: RE: How to add callback_ function settings using a...

jreklund Wrote: (09-15-2019, 08:33 AM) -- Your function should be called blacklist() not callback_blacklist(). -- Hi, sorry late reply. Yes blacklist() not callback_blacklist(), I already tried it ...
4,989 Views
6 Replies
09-17-2019, 02:33 AM
falcon812311
  Sad Thread: How to add callback_ function settings using an array
Post: RE: How to add callback_ function settings using a...

Wouter60 Wrote: (09-15-2019, 05:10 AM) -- Change PHP Code: -- public function callback_blacklist($str) -- to: PHP Code: -- public function callback_blacklist($username) -- -- thanks ...
4,989 Views
6 Replies
09-15-2019, 05:17 AM
falcon812311
    Thread: How to add callback_ function settings using an array
Post: How to add callback_ function settings using an ar...

Hi I have problem setting rules using an array (Link (https://codeigniter.com/user_guide/libraries/form_validation.html#setting-rules-using-an-array)). I add callbacks (Link (https://codeigniter.co...
4,989 Views
6 Replies
09-15-2019, 04:12 AM
falcon812311
    Thread: How to update certain session
Post: How to update certain session

Hi,  I have problem with codeigniter session. I want update certain session. Example I store my email, username, and user_lvl in session. If I change/update email in user profile and I click submit bu...
2,627 Views
2 Replies
06-25-2018, 06:02 AM
falcon812311
    Thread: codeigniter 3.1.7 result query array has an issue
Post: RE: codeigniter 3.1.7 result query array has an is...

Declare form_validation library. exp: Put in your controller. $this->load->library('form_validation'); ref: https://www.codeigniter.com/userguide3/libraries/form_validation.html
9,339 Views
6 Replies
02-25-2018, 09:50 PM
falcon812311
    Thread: get result from join same table join
Post: RE: get result from join same table join

neuron Wrote: (10-10-2017, 08:09 AM) -- PHP Code: -- $this->db->select('sub.*, h1.status_name as h1_status_name, h2.status_name as h2_status_name'); -- //in view: PHP Code: --  1 Hibah 1  ...
4,805 Views
2 Replies
10-10-2017, 07:01 PM
falcon812311
    Thread: get result from join same table join
Post: get result from join same table join

Hi, i want retrieve each h1_status, h2_status, ..h6_status from database and show it to view. my status_payment table: Code: -- status_id | status_name       1  | In Progress       2  | Pa...
4,805 Views
2 Replies
10-10-2017, 07:37 AM
falcon812311
    Thread: how to use IS NULL?
Post: how to use IS NULL?

Hi, I have problem with my query, its not update my table *I want select NULL col with limit then update the DB. this is my code model: PHP Code: -- function SetUserTakenStock($data, $id,...
3,379 Views
2 Replies
04-08-2017, 09:37 PM
falcon812311
    Thread: Ajax output problem
Post: RE: Ajax output problem

Wouter60 Wrote: (03-26-2017, 05:33 AM) -- You forgot the semi-colon after echo base_url(). Because of that, php will generate an error. Besides that, I recommend letting the controller return the co...
4,282 Views
3 Replies
03-26-2017, 09:38 AM
falcon812311
  Sad Thread: Ajax output problem
Post: Ajax output problem

Hi, I'm newbie in ajax, my problem is my ajax just can open 1st row only and 2nd row i receive null no data retrieve from ajax this is my AJAX problem.   Code: -- $('.dropdown-menu')....
4,282 Views
3 Replies
03-26-2017, 05:09 AM
falcon812311
    Thread: How to minus number in DB
Post: RE: How to minus number in DB

Paradinight Wrote: (01-08-2017, 10:18 PM) -- falcon812311 Wrote: (01-08-2017, 05:11 AM) -- PHP Code: --   function minus_set($id)   {     $this->db->trans_start();     $this->db->set('total_set'...
7,013 Views
2 Replies
01-11-2017, 03:11 AM
falcon812311
    Thread: How to minus number in DB
Post: How to minus number in DB

PHP Code: --   function minus_set($id)   {     $this->db->trans_start();     $this->db->set('total_set', 'total_set - 1');     $this->db->set('price', 'price - 300.00');     $this->db->where('user_id...
7,013 Views
2 Replies
01-08-2017, 05:11 AM
falcon812311
    Thread: plug in for generate Member ID/Student ID
Post: RE: plug in for generate Member ID/Student ID

Paradinight Wrote: (12-26-2016, 10:53 PM) -- The max is LD9999? Use the normal database increment and use http://www.php.net/str_pad PHP Code: -- echo 'LD'.str_pad('20', 4, '0', STR_PAD_LEFT); -...
4,903 Views
3 Replies
12-27-2016, 03:17 AM
falcon812311

Theme © iAndrew 2016 - Forum software by © MyBB