Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Multiple delete image from database and folder too
Post: RE: Multiple delete image from database and folder...

CroNiX Wrote: (02-05-2015, 09:53 AM) -- However, since he's doing multiple actions (delete from db AND delete corresponding image), I WOULD do them in a loop. What if there is a file permission error...
30,144 Views
0 Replies
02-05-2015, 10:01 AM
egall8
    Thread: check-box conditioning
Post: RE: check-box conditioning

jaysondotp Wrote: (02-04-2015, 11:52 PM) -- Hi coders, i have list of check-box and there are same value and there are not. now i want to create condition, example if i check 3 check-box with diffe...
3,634 Views
0 Replies
02-05-2015, 09:47 AM
egall8
    Thread: Multiple delete image from database and folder too
Post: RE: Multiple delete image from database and folder...

First of all, for your delete from the database, I wouldn't use a foreach statement. If you have all of the ids in an array as such: PHP Code: -- $ids = array(1, 5, 6, 9, 10); // I would do this...
30,144 Views
0 Replies
02-05-2015, 09:33 AM
egall8
    Thread: Sub Folder Problem
Post: RE: Sub Folder Problem

kazimkaragul Wrote: (02-05-2015, 04:20 AM) -- Hi, I started to develop CMS system and it will have 2 subfolder like, admin and interface. Interface will store frontend controllers and  I will use ...
6,693 Views
0 Replies
02-05-2015, 09:23 AM
egall8
    Thread: Problem rewriting links in htaccess
Post: RE: Problem rewriting links in htaccess

chiefdongas Wrote: (02-05-2015, 07:57 AM) -- Hey, I have "index.php?" in my links, I have searched for a solution all over the forum and I could'nt find something that works for me. "http://myweb...
9,040 Views
0 Replies
02-05-2015, 09:07 AM
egall8
    Thread: Textarea and converting entities
Post: RE: Textarea and converting entities

Avenirer Wrote: (02-03-2015, 02:23 PM) -- I guess you can use PHP's htmlentities() function: PHP Code: -- -- -- When i took out the set_value() function from the form_textarea(), I would g...
8,595 Views
0 Replies
02-05-2015, 09:00 AM
egall8
    Thread: Textarea and converting entities
Post: Textarea and converting entities

I have a textarea that uses TinyMCE but have tested this with just the normal textarea. When I submit the form the first time with the following line Code: -- testing -- it saves that to the dat...
8,595 Views
0 Replies
02-03-2015, 12:39 PM
egall8
    Thread: CI 3 + HMVC form_validation library problem
Post: RE: CI 3 form_validation library problem

geekita Wrote: (02-01-2015, 11:09 AM) -- I have this couple of rules PHP Code: -- $this->form_validation->set_rules('password', 'New Password', 'callback__check_password'); $this->form_val...
14,696 Views
0 Replies
02-01-2015, 11:28 AM
egall8

Theme © iAndrew 2016 - Forum software by © MyBB